/* =========================================================
   株式会社Next Green コーポレートサイト
   色：支給ロゴ（#0A4F33 / #4C9F36 / #093727）と製品の資料から
   ========================================================= */

:root {
  --forest: #0a4f33;
  --leaf: #4c9f36;
  --leaf-bright: #79c95a;
  --deep: #093727;
  --mint: #d9f0e5;
  --gold: #b68145;

  --bg: #0b1a13;
  --bg-2: #11241b;
  --bg-3: #183126;
  --bg-input: #19302500;
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.72);
  --fg-3: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.16);
  --line-2: rgba(255, 255, 255, 0.5);

  --logo-dark: #ffffff;
  --logo-light: var(--leaf-bright);
  --logo-text: #ffffff;

  --gutter: 40px;
  --header-h: 68px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font-en: 'Archivo', 'Noto Sans JP', system-ui, sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html[data-theme='light'] {
  --bg: #f3f5f2;
  --bg-2: #ffffff;
  --bg-3: #e8ede9;
  --fg: #111a15;
  --fg-2: #4a5850;
  --fg-3: #87938b;
  --line: #dce3de;
  --line-2: #111a15;
  --logo-dark: var(--forest);
  --logo-light: var(--leaf);
  --logo-text: var(--deep);
}

/* ---------- 基本 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  position: relative;
  z-index: 0;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-feature-settings: 'palt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[data-theme='dark'] body::before {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: -1;
  background-image: var(--noise);
  opacity: 0.075;
  pointer-events: none;
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}
::selection {
  background: var(--leaf-bright);
  color: #06110c;
}
:focus-visible {
  outline: 2px solid var(--leaf-bright);
  outline-offset: 3px;
}
.en {
  font-family: var(--font-en);
  letter-spacing: -0.02em;
  font-feature-settings: normal;
}
.u-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
.l-container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 行ごとに下から出てくる文字 */
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.ln__in {
  display: block;
  transition: transform 1.2s var(--ease);
}
.js [data-lines] .ln__in,
.js [data-split] .ln__in {
  transform: translate3d(0, 108%, 0);
}
.js [data-lines].is-in .ln__in,
.js [data-split].is-in .ln__in {
  transform: none;
}
.js [data-lines] .ln:nth-child(2) .ln__in,
.js [data-split] .ln:nth-child(2) .ln__in {
  transition-delay: 0.08s;
}
.js [data-lines] .ln:nth-child(3) .ln__in {
  transition-delay: 0.16s;
}

/* ふわっと出てくる */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- ボタン ---------- */
.circle-btn {
  --d: clamp(140px, 15.6vw, 225px);
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  color: var(--fg);
  flex-shrink: 0;
  will-change: transform;
}
.circle-btn--md {
  --d: clamp(110px, 10.4vw, 150px);
}
.circle-btn--sm {
  --d: 76px;
}
.circle-btn__ring {
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition:
    transform 0.7s var(--ease),
    background-color 0.45s var(--ease),
    border-color 0.45s;
}
.circle-btn__icon {
  position: relative;
  display: grid;
  place-items: center;
  transition:
    transform 0.6s var(--ease),
    color 0.3s;
}
.circle-btn--sm .circle-btn__icon svg {
  width: 22px;
  height: 22px;
}
a:hover > .circle-btn .circle-btn__ring,
.circle-btn:hover .circle-btn__ring,
.contact-us__link:hover .circle-btn__ring {
  transform: scale(1.06);
  background-color: var(--fg);
  border-color: var(--fg);
}
a:hover > .circle-btn .circle-btn__icon,
.circle-btn:hover .circle-btn__icon,
.contact-us__link:hover .circle-btn__icon {
  color: var(--bg);
  transform: translateX(6px);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.btn-line:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  background: #fff;
  color: var(--c, #0b1a13);
  font-size: 15px;
  font-weight: 900;
  border-radius: 999px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--c, #0b1a13);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--fg);
  pointer-events: none;
  transition:
    color 0.4s,
    background-color 0.4s;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 -24px;
  background: linear-gradient(to bottom, rgba(5, 14, 10, 0.45), rgba(5, 14, 10, 0));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s;
}
html[data-theme='light'] .site-header {
  background: rgba(243, 245, 242, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
html[data-theme='light'] .site-header::before {
  display: none;
}
.site-header__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  pointer-events: auto;
}
.menu-toggle {
  justify-self: start;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  display: grid;
  place-items: center;
}
.menu-toggle__bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.5s var(--ease),
    opacity 0.3s,
    top 0.4s var(--ease);
}
.menu-toggle__bar:nth-child(1) {
  top: 15px;
}
.menu-toggle__bar:nth-child(2) {
  top: 21.5px;
}
.menu-toggle__bar:nth-child(3) {
  top: 28px;
}
.is-menu-open .menu-toggle__bar:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.is-menu-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.is-menu-open .menu-toggle__bar:nth-child(3) {
  top: 21.5px;
  transform: rotate(-45deg);
}
.site-logo {
  justify-self: center;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 36px;
  padding: 3px 0;
}
.site-logo__mark {
  height: 30px;
  width: auto;
  overflow: visible;
  transition: transform 0.6s var(--ease);
}
.site-logo:hover .site-logo__mark {
  transform: translateX(2px) rotate(-3deg);
}
.site-logo__type {
  display: block;
  width: 108px;
  overflow: hidden;
  transition:
    width 0.6s var(--ease),
    opacity 0.4s;
}
.site-logo__type svg {
  height: 17.2px;
  width: auto;
  max-width: none;
}
.is-scrolled .site-logo__type {
  width: 0;
  opacity: 0;
}
.is-menu-open .site-logo__type {
  width: 108px;
  opacity: 1;
}
.logo-mark__dark {
  fill: var(--logo-dark);
  transition: fill 0.4s;
}
.logo-mark__light {
  fill: var(--logo-light);
  transition: fill 0.4s;
}
.logo-type path,
.logo-type__path {
  fill: var(--logo-text);
  transition: fill 0.4s;
}
.site-header__nav {
  justify-self: end;
  display: flex;
  gap: 4px;
}
.site-header__link {
  position: relative;
  padding: 8px 14px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.site-header__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.site-header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-header__line {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: color-mix(in srgb, currentColor 45%, transparent);
  overflow: hidden;
}
.site-header__progress {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.is-menu-open .site-header {
  color: #fff;
}
.is-menu-open .site-header::before {
  opacity: 0;
}
html[data-theme='light'].is-menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  --logo-dark: #fff;
  --logo-light: var(--leaf-bright);
  --logo-text: #fff;
}

/* ---------- 全画面メニュー ---------- */
.gmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0d1d16;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.55s var(--ease),
    visibility 0s linear 0.55s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.gmenu[hidden] {
  display: block;
}
.gmenu::before {
  content: '';
  position: fixed;
  inset: -50%;
  background-image: var(--noise);
  opacity: 0.075;
  pointer-events: none;
}
.gmenu.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.gmenu__glow {
  position: fixed;
  left: var(--gx, 30vw);
  top: var(--gy, 30vh);
  width: 64vmax;
  height: 64vmax;
  margin: -32vmax 0 0 -32vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, #4c9f36) 0%, transparent 62%);
  opacity: 0;
  filter: blur(30px);
  pointer-events: none;
  transition:
    opacity 0.7s var(--ease),
    background 0.6s;
}
.gmenu.is-glow .gmenu__glow {
  opacity: 0.32;
}
.gmenu__inner {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) var(--gutter) 40px 20vw;
}
.gmenu__nav {
  position: relative;
}
.gmenu__main {
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s;
}
.gmenu__link {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
  text-align: left;
  transition:
    opacity 0.35s,
    font-size 0.6s var(--ease),
    color 0.3s;
}
.gmenu__main > li {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.6s var(--ease),
    transform 0.9s var(--ease);
}
.gmenu.is-open .gmenu__main > li {
  opacity: 1;
  transform: none;
}
.gmenu.is-open .gmenu__main > li:nth-child(2) {
  transition-delay: 0.05s;
}
.gmenu.is-open .gmenu__main > li:nth-child(3) {
  transition-delay: 0.1s;
}
.gmenu.is-open .gmenu__main > li:nth-child(4) {
  transition-delay: 0.15s;
}
.gmenu.is-open .gmenu__main > li:nth-child(5) {
  transition-delay: 0.2s;
}
.gmenu__main:hover .gmenu__link {
  opacity: 0.28;
}
.gmenu__main .gmenu__link:hover,
.gmenu__main .gmenu__link:focus-visible {
  opacity: 1;
}
.gmenu__pm {
  position: relative;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.18em;
}
.gmenu__pm::before,
.gmenu__pm::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.gmenu__pm::after {
  transform: rotate(90deg);
}
[aria-expanded='true'] > .gmenu__pm::after {
  transform: rotate(0deg);
}
.gmenu__sub {
  display: none;
}
.gmenu.has-sub .gmenu__main {
  position: absolute;
  left: calc(-20vw + var(--gutter));
  top: 0;
}
.gmenu.has-sub .gmenu__link {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  opacity: 0.4;
}
.gmenu.has-sub .gmenu__link[aria-expanded='true'] {
  opacity: 1;
}
.gmenu.has-sub .gmenu__pm::before,
.gmenu.has-sub .gmenu__pm::after {
  height: 1.5px;
}
.gmenu__sub.is-active {
  display: block;
}
.gmenu__sub li {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  animation: sub-in 0.8s var(--ease) forwards;
}
.gmenu__sub li:nth-child(2) {
  animation-delay: 0.04s;
}
.gmenu__sub li:nth-child(3) {
  animation-delay: 0.08s;
}
.gmenu__sub li:nth-child(4) {
  animation-delay: 0.12s;
}
.gmenu__sub li:nth-child(5) {
  animation-delay: 0.16s;
}
.gmenu__sub li:nth-child(6) {
  animation-delay: 0.2s;
}
@keyframes sub-in {
  to {
    opacity: 1;
    transform: none;
  }
}
.gmenu__sub a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  opacity: 0.3;
  transition: opacity 0.35s;
}
.gmenu__sub a:hover,
.gmenu__sub a:focus-visible {
  opacity: 1;
}
.gmenu__sub small {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.gmenu__foot {
  margin-top: 64px;
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.gmenu__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

/* ---------- オープニング（初回だけ） ---------- */
.opening {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: #06110c;
  transition: transform 1s var(--ease-io);
  --logo-dark: #fff;
  --logo-light: var(--leaf-bright);
}
.is-opening .opening {
  display: grid;
}
.is-opened .opening {
  transform: translate3d(0, -100%, 0);
}
.opening__mark {
  width: min(28vw, 150px);
}
.opening__mark svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.opening__mark .logo-mark__dark,
.opening__mark .logo-mark__light {
  clip-path: inset(100% 100% 0 0);
  animation: grow 1s var(--ease) forwards;
}
.opening__mark .logo-mark__light {
  animation-delay: 0.18s;
}
@keyframes grow {
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #06110c;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 12, 0.62) 0%, rgba(6, 17, 12, 0.2) 55%, rgba(6, 17, 12, 0) 75%),
    linear-gradient(0deg, rgba(6, 17, 12, 0.55) 0%, rgba(6, 17, 12, 0) 32%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: var(--noise);
  opacity: 0.09;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + clamp(40px, 6.5vh, 76px));
  padding-bottom: clamp(48px, 8vh, 80px);
}
.hero__title {
  font-weight: 800;
  font-size: clamp(64px, 14.5vw, 210px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin-left: -0.04em;
}
.js .hero__title .ln__in {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.4s var(--ease);
}
.is-ready .hero__title .ln__in {
  transform: none;
}
.is-ready .hero__title .ln:nth-of-type(2) .ln__in {
  transition-delay: 0.09s;
}
.is-ready .hero__title .ln:nth-of-type(3) .ln__in {
  transition-delay: 0.18s;
}
.hero__lead {
  max-width: 44em;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.06em;
}
.js .hero__lead {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 1s var(--ease) 0.5s,
    transform 1.2s var(--ease) 0.5s;
}
.is-ready .hero__lead {
  opacity: 1;
  transform: none;
}
.hero__circle {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(48px, 8vh, 80px);
  width: clamp(130px, 15.6vw, 225px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  transition:
    background-color 0.45s var(--ease),
    color 0.3s;
}
.hero__circle:hover {
  background: #fff;
  color: #06110c;
}
.hero__ring {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  animation: spin 22s linear infinite;
  fill: currentColor;
  font-family: var(--font-en);
  font-size: 10.2px;
  font-weight: 700;
  letter-spacing: 0.32em;
}
.hero__circle-icon {
  transition: transform 0.6s var(--ease);
}
.hero__circle:hover .hero__circle-icon {
  transform: translateY(6px);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 横に流れるカード ---------- */
.rail {
  position: relative;
}
.rail__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.rail__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.rail__title {
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.03em;
}
.rail__ja {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
}
.rail__count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg-3);
}
.rail__viewport {
  overflow: hidden;
}
.rail__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 var(--gutter);
  will-change: transform;
}
.rail-card {
  position: relative;
  display: block;
  width: clamp(280px, 32vw, 460px);
  aspect-ratio: 460 / 290;
  border-radius: var(--radius);
  background: var(--c);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  isolation: isolate;
  transition: transform 0.7s var(--ease);
}
.rail-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 100%, rgba(255, 255, 255, 0.22), transparent 55%);
  z-index: -1;
}
.rail-card:hover {
  transform: translateY(-6px);
}
.rail-card__no {
  position: absolute;
  top: 22px;
  left: 28px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.8;
}
.rail-card__body {
  position: absolute;
  left: 28px;
  right: 34%;
  top: 50%;
  transform: translateY(-50%);
}
.rail-card__title {
  display: block;
  font-weight: 800;
  font-size: clamp(22px, 2.15vw, 31px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.rail-card__sub {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.rail-card__img {
  position: absolute;
  right: 4%;
  bottom: 8%;
  height: 74%;
  width: auto;
  max-width: 42%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  transition: transform 0.8s var(--ease);
}
.rail-card:hover .rail-card__img {
  transform: scale(1.07) rotate(-3deg);
}
.rail-card__glyph {
  position: absolute;
  right: 6%;
  bottom: 12%;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.8s var(--ease);
}
.rail-card:hover .rail-card__glyph {
  transform: scale(1.07) rotate(-3deg);
}
.rail__bar {
  position: relative;
  height: 2px;
  margin-top: clamp(36px, 4vw, 52px);
}
.rail__bar::before {
  content: '';
  position: absolute;
  inset: 0 var(--gutter);
  background: var(--line);
}
.rail__bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  background: color-mix(in srgb, var(--fg) 55%, transparent);
  transform-origin: left;
  transform: scaleX(var(--p, 0.2));
}

/* ---------- 導入 ---------- */
.intro {
  padding-top: clamp(120px, 14vw, 200px);
  padding-bottom: clamp(120px, 14vw, 200px);
  text-align: center;
}
.intro__title {
  font-weight: 800;
  font-size: clamp(52px, 8.4vw, 122px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.intro__text {
  margin-top: clamp(32px, 3.6vw, 52px);
  font-size: 15px;
  font-weight: 700;
  line-height: 2.1;
}
.intro__btn {
  margin-top: clamp(40px, 4vw, 60px);
  display: flex;
  justify-content: center;
}

/* ---------- 色が切り替わるサービス紹介 ---------- */
.showcase {
  position: relative;
  height: calc(var(--n) * 100vh);
}
.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.showcase__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36.6%;
  right: 0;
  background: var(--c);
  transition: background-color 0.9s var(--ease);
}
.showcase__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.06;
}
.showcase__titles {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 6.6vw, 96px);
  top: 50%;
  width: 62%;
  transform: translateY(-50%);
  pointer-events: none;
}
.showcase__item {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  visibility: hidden;
  transition: visibility 0s linear 1s;
}
.showcase__item.is-active {
  visibility: visible;
  transition-delay: 0s;
}
.showcase__no {
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  margin-bottom: 18px;
  transition: opacity 0.6s;
}
.showcase__title {
  font-weight: 800;
  font-size: clamp(54px, 8.4vw, 122px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
}
.showcase__title .ln__in {
  transform: translate3d(0, 108%, 0);
  transition: transform 1s var(--ease);
}
.showcase__item.is-active .ln__in {
  transform: none;
}
.showcase__item.is-active .ln:nth-child(2) .ln__in {
  transition-delay: 0.06s;
}
.showcase__item.is-leaving .ln__in {
  transform: translate3d(0, -108%, 0);
}
.showcase__sub,
.showcase__more {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.5s,
    transform 0.8s var(--ease);
}
.showcase__item.is-active .showcase__sub,
.showcase__item.is-active .showcase__more,
.showcase__item.is-active .showcase__no {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}
.showcase__sub {
  margin-top: clamp(22px, 2.6vw, 36px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.showcase__more {
  display: none;
}
.showcase__visuals {
  position: absolute;
  z-index: 3;
  left: 53.3%;
  top: 54%;
  width: clamp(230px, 25vw, 360px);
  aspect-ratio: 3 / 4;
  transform: translateY(-50%);
}
.showcase__visual {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  clip-path: inset(100% 0 0 0 round var(--radius));
  transition: clip-path 1.1s var(--ease);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.showcase__visual.is-active {
  z-index: 2;
  clip-path: inset(0 0 0 0 round var(--radius));
}
.showcase__visual.is-leaving {
  z-index: 1;
  clip-path: inset(0 0 0 0 round var(--radius));
}
.showcase__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.18);
  transition: transform 1.6s var(--ease);
}
.showcase__visual.is-active img {
  transform: none;
}
.showcase__visual--mascot {
  background: linear-gradient(160deg, #f6f3ea, #e3f1e8);
}
.showcase__visual--mascot img {
  object-fit: contain;
  object-position: center;
  padding: 16%;
}
.showcase__visual--code {
  background: #0c1712;
  display: grid;
  place-items: center;
}
.showcase__btn {
  position: absolute !important;
  z-index: 5;
  right: var(--gutter);
  top: 54%;
  margin-top: calc(var(--d) / -2);
  color: #fff;
}
.showcase__pager {
  position: absolute;
  z-index: 5;
  left: calc(53.3% + clamp(230px, 25vw, 360px) / 2);
  bottom: clamp(28px, 7vh, 72px);
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 5px;
  background: #121c17;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.showcase__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  transition:
    background-color 0.5s var(--ease),
    color 0.3s;
}
.showcase__dot:hover {
  background: rgba(255, 255, 255, 0.12);
}
.showcase__dot.is-active {
  background: var(--c);
}
/* JS なしのときは縦に並べる */
html:not(.js) .showcase {
  height: auto;
}
html:not(.js) .showcase__sticky {
  position: relative;
  height: auto;
  padding: 40px var(--gutter);
}
html:not(.js) .showcase__item,
html:not(.js) .showcase__titles {
  position: relative;
  transform: none;
  visibility: visible;
  width: auto;
  left: 0;
  top: 0;
  margin-bottom: 40px;
}
html:not(.js) .showcase__item .ln__in,
html:not(.js) .showcase__sub {
  transform: none;
  opacity: 1;
}
html:not(.js) .showcase__panel,
html:not(.js) .showcase__visuals,
html:not(.js) .showcase__pager,
html:not(.js) .showcase__btn {
  display: none;
}

/* コード風の絵 */
.code-art {
  width: 86%;
  border-radius: 12px;
  background: #0f1f18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #d7eadf;
  text-align: left;
}
.code-art__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.code-art__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e5a4c;
}
.code-art__bar i:first-child {
  background: #e0715b;
}
.code-art__bar i:nth-child(2) {
  background: #e2b54f;
}
.code-art__bar i:nth-child(3) {
  background: #79c95a;
}
.code-art__bar span {
  margin-left: 8px;
}
.code-art__body {
  margin: 0;
  padding: 14px 14px 16px;
  font-size: clamp(9.5px, 0.78vw, 11.5px);
  line-height: 1.75;
  white-space: pre;
  overflow: hidden;
}
.code-art .t-k {
  color: #79c95a;
}
.code-art .t-f {
  color: #e2c27b;
}
.code-art .t-s {
  color: #9fd3c3;
}
.code-art .t-c {
  color: rgba(255, 255, 255, 0.38);
}
.code-art__chips {
  display: flex;
  gap: 6px;
  padding: 0 14px 16px;
}
.code-art__chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(121, 201, 90, 0.14);
  color: #a9e090;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- メッセージ ---------- */
.statement {
  padding-top: clamp(140px, 16vw, 230px);
  padding-bottom: clamp(120px, 12vw, 180px);
  text-align: center;
}
.statement__text {
  max-width: 17em;
  margin: 0 auto;
  font-weight: 800;
  font-size: clamp(30px, 4.25vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.statement__text .w {
  opacity: 0.16;
  transition: opacity 0.5s;
}
.statement__text .w.is-on {
  opacity: 1;
}
html:not(.js) .statement__text .w {
  opacity: 1;
}
.statement__ja {
  margin-top: clamp(28px, 3vw, 44px);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-2);
}

/* ---------- ブログ（トップ） ---------- */
.blogfeat {
  position: relative;
  padding: 40px 0 clamp(80px, 8vw, 120px);
}
.blogfeat__inner {
  position: relative;
}
.blogfeat__word {
  position: absolute;
  inset: 0 auto 0 var(--gutter);
  pointer-events: none;
}
.blogfeat__word span {
  position: sticky;
  top: calc(50vh - 0.5em);
  display: block;
  font-weight: 800;
  font-size: clamp(120px, 23vw, 340px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--fg) 13%, transparent);
  margin-left: -0.04em;
}
.blogfeat__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 0 clamp(40px, 8.5vw, 124px);
}
.blogfeat__col--offset {
  padding-top: clamp(120px, 16vw, 240px);
}
.post-stagger,
.blog-brand {
  display: block;
  margin-bottom: clamp(72px, 8vw, 120px);
}
.post-stagger__img,
.blog-brand__art {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 630;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}
.post-stagger__img img,
.post-latest__img img,
.post-row__img img,
.post-pickup__img img,
.linkcard__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.post-stagger:hover img,
.post-latest:hover img,
.post-row__link:hover img,
.post-pickup:hover img {
  transform: scale(1.05);
}
.cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #0f2a1e, #1d4a34);
  --logo-dark: rgba(255, 255, 255, 0.92);
  --logo-light: var(--leaf-bright);
}
.cover-fallback svg {
  width: 34%;
  height: auto;
}
.post-stagger__meta {
  display: flex;
  margin-top: 16px;
}
.post-stagger__title {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
  transition: color 0.3s;
}
.post-stagger:hover .post-stagger__title {
  color: var(--leaf-bright);
}
.cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cat-label__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--leaf));
}
.blog-brand__art {
  display: grid;
  place-items: center;
  background: #08130e;
  --logo-dark: #fff;
  --logo-light: var(--leaf-bright);
}
.blog-brand__art svg {
  position: relative;
  width: 30%;
  height: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.4));
}
.blog-brand__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(30% 34% at 32% 44%, rgba(182, 129, 69, 0.9), transparent 70%),
    radial-gradient(30% 34% at 64% 40%, rgba(47, 184, 98, 0.9), transparent 70%),
    radial-gradient(28% 30% at 46% 66%, rgba(24, 165, 148, 0.85), transparent 70%),
    radial-gradient(26% 30% at 70% 70%, rgba(76, 159, 54, 0.8), transparent 70%);
  filter: blur(28px);
  animation: glow-move 12s ease-in-out infinite alternate;
}
@keyframes glow-move {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(40deg) scale(1.12);
  }
}
.blog-brand__label {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.blog-brand__label .en {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--leaf-bright);
}
.blogfeat__more {
  display: flex;
  justify-content: flex-end;
}

/* ---------- 最新記事 ---------- */
.latest {
  padding-top: 40px;
  padding-bottom: clamp(80px, 8vw, 120px);
}
.latest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.latest__title {
  font-weight: 800;
  font-size: clamp(30px, 2.6vw, 38px);
  letter-spacing: -0.03em;
}
.latest__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.post-latest {
  display: block;
}
.post-latest__img {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 630;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-3);
}
.post-latest__title {
  display: block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-latest__by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fg-2);
}
.post-latest__author {
  font-family: var(--font-ja);
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: linear-gradient(140deg, var(--forest), var(--leaf));
  color: #fff;
  font-size: calc(var(--s) * 0.44);
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0;
}

/* ---------- 導線カード ---------- */
.linkcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: clamp(60px, 6vw, 100px);
  padding-bottom: clamp(60px, 6vw, 100px);
  border-top: 1px solid var(--line);
  margin: 0 var(--gutter);
  padding-left: 0;
  padding-right: 0;
}
.linkcard {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 360 / 340;
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.linkcard__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.linkcard__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 15, 10, 0.72), rgba(5, 15, 10, 0.05) 60%);
}
.linkcard:hover .linkcard__bg img,
.linkcard:hover .linkcard__bg svg {
  transform: scale(1.06);
}
.linkcard--contact .linkcard__bg {
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(121, 201, 90, 0.55), transparent 60%),
    linear-gradient(150deg, #154a33, #0b2219 70%);
  display: grid;
  place-items: center;
  --logo-dark: rgba(255, 255, 255, 0.9);
  --logo-light: var(--leaf-bright);
}
.linkcard--contact .linkcard__bg svg {
  width: 62%;
  height: auto;
  transform-origin: center;
  transition: transform 1s var(--ease);
  margin-top: -18%;
}
.linkcard--company .linkcard__bg {
  background: #eef6f1;
}
.linkcard--company .linkcard__bg img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.linkcard--blog .linkcard__bg img {
  object-position: left top;
}
.linkcard__title {
  display: block;
  font-weight: 800;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.linkcard__ja {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Contact Us ---------- */
.contact-us {
  padding: clamp(40px, 4vw, 60px) 0 clamp(90px, 9vw, 140px);
}
.contact-us__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.contact-us__ja {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-us__title {
  display: block;
  font-weight: 800;
  font-size: clamp(58px, 13.6vw, 196px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  transition: color 0.4s;
}
.contact-us__link:hover .contact-us__title {
  color: var(--leaf-bright);
}

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  background: #07110c;
  color: #fff;
  padding-top: clamp(64px, 7vw, 100px);
  --logo-dark: #fff;
  --logo-light: var(--leaf-bright);
}
html[data-theme='light'] .site-footer {
  --fg: #fff;
  --bg: #07110c;
  --fg-2: rgba(255, 255, 255, 0.72);
  --fg-3: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.16);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
}
.f-title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.f-links + .f-title {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.f-links li + li {
  margin-top: 6px;
}
.f-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}
.f-links a:hover {
  color: #fff;
}
.f-links--icon svg {
  color: var(--c);
}
.f-office__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.62);
}
.f-info {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}
.f-info + .f-title {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.f-col--info .f-links {
  margin-top: 12px;
}
.site-footer__brand {
  padding-top: clamp(80px, 9vw, 130px);
  text-align: center;
  overflow: hidden;
}
.f-wordmark {
  display: inline-block;
  font-weight: 900;
  font-stretch: 62%;
  font-size: 19vw;
  line-height: 0.8;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
  margin: 0 auto;
}
.f-tagline {
  margin-top: clamp(24px, 2.6vw, 36px);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 700;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 32px;
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.f-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 下層ページの見出し ---------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 88px));
  padding-bottom: clamp(36px, 4vw, 60px);
}
.page-head__title {
  font-weight: 800;
  font-size: clamp(56px, 8.4vw, 122px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.page-head__ja {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-2);
}
.page-head__lead {
  margin-top: clamp(28px, 3vw, 44px);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.9;
}
.page-head--line {
  margin: 0 var(--gutter);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--line);
}
.sec-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: clamp(32px, 3.4vw, 52px);
}
.sec-head--row {
  align-items: center;
  justify-content: space-between;
}
.sec-head__title {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.sec-head--row .sec-head__title {
  font-size: clamp(30px, 3vw, 44px);
}
.sec-head__ja {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-2);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-3);
}
.breadcrumb li + li::before {
  content: '>';
  margin-right: 8px;
  opacity: 0.7;
}
.breadcrumb a:hover {
  color: var(--fg);
}
.breadcrumb [aria-current] {
  color: var(--fg-2);
}

/* ---------- サービス一覧 ---------- */
.svc-list {
  margin: 0 var(--gutter);
  padding: 0;
  border-top: 1px solid var(--line);
}
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr) 110px 40px;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 3vw, 44px) 20px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s;
}
.svc-row__fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease);
}
.svc-row:hover .svc-row__fill {
  transform: scaleY(1);
}
.svc-row:hover {
  color: #fff;
}
.svc-row__no {
  font-size: 14px;
  font-weight: 800;
  color: var(--c);
  transition: color 0.4s;
}
.svc-row:hover .svc-row__no {
  color: #fff;
}
.svc-row__en {
  display: block;
  font-weight: 800;
  font-size: clamp(30px, 3.9vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.svc-row__name {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 900;
}
.svc-row__name small {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.72;
}
.svc-row__catch {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  opacity: 0.85;
}
.svc-row__thumb {
  display: grid;
  place-items: center;
  height: 92px;
}
.svc-row__thumb img {
  max-height: 92px;
  width: auto;
  transition: transform 0.7s var(--ease);
}
.svc-row:hover .svc-row__thumb img {
  transform: scale(1.1) rotate(-4deg);
}
.svc-row__arrow {
  justify-self: end;
  transition: transform 0.6s var(--ease);
}
.svc-row:hover .svc-row__arrow {
  transform: translateX(8px);
}
.approach {
  padding-top: clamp(100px, 10vw, 160px);
  padding-bottom: clamp(60px, 6vw, 100px);
}
.approach__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.approach__item {
  position: relative;
  padding: 36px 30px 40px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.approach__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--leaf-bright);
}
.approach__en {
  display: block;
  margin-top: 28px;
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.approach__title {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 900;
}
.approach__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg-2);
}

/* ---------- サービス詳細 ---------- */
.svc-hero {
  position: relative;
  background: var(--c);
  color: #fff;
  padding: calc(var(--header-h) + 24px) 0 clamp(80px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.svc-hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: -1;
  background-image: var(--noise);
  opacity: 0.07;
}
.svc-hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  z-index: -1;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 62%);
}
.svc-hero .breadcrumb ol,
.svc-hero .breadcrumb [aria-current] {
  color: rgba(255, 255, 255, 0.75);
}
.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  margin-top: clamp(36px, 4vw, 60px);
}
.svc-hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.svc-hero__label .en {
  font-weight: 800;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}
.svc-hero__title {
  margin-top: 18px;
  font-weight: 800;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.svc-hero__name {
  margin-top: clamp(28px, 3vw, 40px);
}
.svc-hero__logo {
  height: clamp(30px, 3.2vw, 46px);
  width: auto;
}
.svc-hero__logo--torisoe {
  height: clamp(90px, 9vw, 130px);
  background: #fff;
  border-radius: 14px;
  padding: 8px;
}
.svc-hero__logo--houlink {
  height: clamp(44px, 4.4vw, 62px);
}
.svc-hero__name-text {
  font-size: 22px;
  font-weight: 900;
}
.svc-hero__catch {
  margin-top: 22px;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.svc-hero__lead {
  margin-top: 16px;
  max-width: 36em;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}
.svc-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.svc-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}
.svc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.svc-hero__visual {
  display: grid;
  place-items: center;
}
.phone {
  display: block;
  width: min(290px, 76%);
  padding: 9px;
  border-radius: 42px;
  background: #0b0b0b;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(3deg);
}
.phone img {
  width: 100%;
  border-radius: 34px;
}
.svc-hero__mascot {
  width: min(360px, 80%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}
.svc-hero__visual--code .code-art {
  width: 100%;
  max-width: 460px;
  transform: rotate(-2deg);
}
.svc-hero__visual--code .code-art__body {
  font-size: 12.5px;
}
.svc-sec {
  padding-top: clamp(90px, 9vw, 140px);
}
.ba-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ba {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.ba p {
  padding: 24px 26px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.85;
}
.ba__before {
  background: var(--bg-2);
  color: var(--fg-2);
  flex: 1;
  padding-bottom: 34px !important;
}
.ba__after {
  background: color-mix(in srgb, var(--c) 24%, var(--bg));
  flex: 1.2;
  padding-top: 34px !important;
}
.ba__tag {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--fg-3);
}
.ba__after .ba__tag {
  color: color-mix(in srgb, var(--c) 60%, #fff);
}
.ba__arrow {
  display: grid;
  place-items: center;
  height: 0;
  position: relative;
  z-index: 1;
}
.ba__arrow svg {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  position: relative;
  padding: clamp(28px, 2.8vw, 42px) clamp(22px, 2.2vw, 34px) clamp(32px, 3vw, 46px);
  background: var(--bg);
  transition: background-color 0.4s;
}
.feature:hover {
  background: var(--bg-2);
}
.feature__no {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 12px;
  font-weight: 800;
  color: var(--fg-3);
}
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 20%, transparent);
  color: color-mix(in srgb, var(--c) 70%, #fff);
}
.feature__title {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}
.feature__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--fg-2);
}
.shots {
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 8px;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shots.is-dragging {
  cursor: grabbing;
}
.shots.is-dragging * {
  pointer-events: none;
}
.shots__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2.2vw, 32px);
  width: max-content;
  padding: 0 var(--gutter);
}
.shot figcaption {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-2);
}
.shot__frame {
  display: block;
  overflow: hidden;
}
.shot--phone .shot__frame {
  width: clamp(190px, 17vw, 250px);
  padding: 7px;
  border-radius: 34px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.shot--phone img {
  border-radius: 28px;
  width: 100%;
}
.shot--desktop .shot__frame {
  position: relative;
  width: clamp(420px, 46vw, 660px);
  padding: 26px 6px 6px;
  border-radius: 12px;
  background: #1b2420;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.shot--desktop .shot__frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0715b;
  box-shadow:
    12px 0 0 #e2b54f,
    24px 0 0 #79c95a;
}
.shot--desktop img {
  width: 100%;
  border-radius: 6px;
}
.extra-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}
.extra-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.extra-list h3 {
  font-size: 17px;
  font-weight: 900;
}
.extra-list p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.9;
}
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stack li {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  background: var(--bg-2);
}
.stack__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.9;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.plans--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan {
  position: relative;
  padding: 34px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.plan.is-recommended {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 20%, var(--bg));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.plan__name {
  font-size: 15px;
  font-weight: 900;
}
.plan__price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.plan__price .en {
  font-weight: 800;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-2);
}
.plan__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-2);
}
.plans__note {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--fg-3);
}
.plans__note a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.flow__step {
  position: relative;
  padding: 28px 24px 8px 0;
}
.flow__step::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 25%, transparent);
}
.flow__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--fg-3);
}
.flow__title {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 900;
}
.flow__text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--fg-2);
}
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 900;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__q {
  font-size: 22px;
  font-weight: 800;
  color: var(--leaf-bright);
}
.faq__pm {
  position: relative;
  width: 16px;
  height: 16px;
}
.faq__pm::before,
.faq__pm::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq__pm::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__pm::after {
  transform: rotate(0deg);
}
.faq__a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 0 4px 26px;
}
.faq__a .faq__q {
  color: var(--fg-3);
}
.faq__a p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--fg-2);
}
.svc-cta {
  padding-top: clamp(90px, 9vw, 140px);
}
.svc-cta__box {
  position: relative;
  padding: clamp(40px, 5vw, 72px);
  border-radius: 18px;
  background: var(--c);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.svc-cta__box::after {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: -1;
  background-image: var(--noise);
  opacity: 0.07;
}
.svc-cta__en {
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.svc-cta__text {
  margin-top: 20px;
  max-width: 40em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.95;
}
.svc-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.svc-others {
  padding-top: clamp(90px, 9vw, 140px);
  padding-bottom: clamp(40px, 4vw, 60px);
}
.svc-others__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mini-card {
  position: relative;
  display: block;
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s;
}
.mini-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.mini-card:hover::before {
  transform: scaleY(1);
}
.mini-card:hover {
  color: #fff;
}
.mini-card__no {
  font-size: 12px;
  font-weight: 800;
  color: var(--c);
  transition: color 0.4s;
}
.mini-card:hover .mini-card__no {
  color: #fff;
}
.mini-card__en {
  display: block;
  margin-top: 26px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.mini-card__name {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}
.mini-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  transition: transform 0.5s var(--ease);
}
.mini-card:hover .mini-card__arrow {
  transform: translateX(5px);
}

/* ---------- 会社概要 ---------- */
.company-visual {
  height: clamp(240px, 38vw, 560px);
  overflow: hidden;
  background: #eef6f1;
}
.company-visual img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}
.company {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: 0 40px;
  padding-top: clamp(64px, 7vw, 110px);
  padding-bottom: clamp(60px, 6vw, 100px);
}
.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 56px);
  align-self: start;
}
.side-nav a {
  display: block;
  padding: 2px 0;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg-3);
  transition: color 0.3s;
}
.side-nav a:hover,
.side-nav a.is-current {
  color: var(--fg);
}
.company__sec + .company__sec {
  margin-top: clamp(80px, 8vw, 120px);
}
.company__title {
  font-weight: 800;
  font-size: clamp(34px, 3vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.company__lead {
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  margin-bottom: 36px;
  max-width: 48em;
}
.company__note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--fg-2);
}
.def-table {
  border-bottom: 1px solid var(--line);
}
.def-table__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.def-table dt .en {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.def-table dt small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-3);
}
.def-table dd {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.95;
  color: var(--fg-2);
}
.def-table dd a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.def-list li + li {
  margin-top: 4px;
}
.def-list__role {
  display: inline-block;
  min-width: 13em;
  margin-right: 12px;
  color: var(--fg-3);
  font-size: 13px;
}
.biz-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.biz {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition:
    border-color 0.3s,
    transform 0.5s var(--ease);
}
.biz:hover {
  border-color: var(--c);
  transform: translateY(-3px);
}
.biz__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--c);
  color: #fff;
}
.biz__name {
  display: block;
  font-size: 16px;
  font-weight: 900;
}
.biz__label {
  display: block;
  font-size: 12.5px;
  color: var(--fg-2);
}
.biz__arrow {
  transition: transform 0.4s var(--ease);
}
.biz:hover .biz__arrow {
  transform: translateX(4px);
}
.members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.member {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.member__mono {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(140deg, var(--forest), #1c6a45);
}
.member__mono--1 {
  background: linear-gradient(140deg, #3d7f2b, var(--leaf));
}
.member__mono::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: var(--noise);
  opacity: 0.08;
}
.member__mono .en {
  position: relative;
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 56px);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
}
.member__role {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg-2);
}
.member__name {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.access {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: stretch;
}
.access__city {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.access__addr {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.9;
}
.access__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 28px;
  font-size: 14px;
  font-weight: 700;
}
.access__map {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

/* ---------- お問い合わせ ---------- */
.contact-top,
.cform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.56fr);
  gap: 40px;
  padding-top: clamp(56px, 6vw, 84px);
}
.contact-top__en {
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.03em;
}
.contact-top__lead {
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.9;
}
.contact-top__tel {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
}
.contact-top__tel a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kind-list {
  margin-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.kind-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.kind-link__title {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 900;
  transition: color 0.3s;
}
.kind-link__sub {
  grid-column: 1;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg-2);
}
.kind-link__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  transition: transform 0.5s var(--ease);
}
.kind-link:hover .kind-link__title {
  color: var(--leaf-bright);
}
.kind-link:hover .kind-link__arrow {
  transform: translateX(8px);
}
.contact-outro {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(100px, 10vw, 160px);
}
.contact-outro__text {
  font-weight: 800;
  font-size: clamp(46px, 7.8vw, 114px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.cform {
  padding-bottom: clamp(100px, 10vw, 150px);
}
.cform__title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.5;
}
.cform__side {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.cform__sub {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
}
.cform__lead {
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.95;
}
.cform__lead a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cform__alert {
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: 4px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.5);
  color: #ffb3b3;
  font-size: 14px;
  font-weight: 700;
}
.field {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field__label {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 900;
}
.field__req {
  color: #ff6b6b;
  margin-left: 4px;
}
.field__opt {
  margin-left: 10px;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-3);
}
.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #1b3027;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition:
    border-color 0.25s,
    background-color 0.25s;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.8;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--leaf-bright);
  background: #213a2f;
}
.has-error input,
.has-error select,
.has-error textarea {
  border-color: #ff6b6b;
}
.field__hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--fg-3);
}
.field__error {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ff8f8f;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.select {
  position: relative;
}
.select svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.select select {
  padding-right: 48px;
  cursor: pointer;
}
.select option {
  color: #111;
}
.kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.kinds__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #1b3027;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.kinds__item:hover {
  background: #213a2f;
}
.kinds__item input,
.check input {
  flex-shrink: 0;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.kinds__item input::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf-bright);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.kinds__item input:checked {
  border-color: var(--leaf-bright);
}
.kinds__item input:checked::after {
  transform: scale(1);
}
.kinds__item:has(input:checked) {
  border-color: var(--leaf-bright);
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.check input {
  border-radius: 4px;
}
.check input::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #06110c;
  border-bottom: 2px solid #06110c;
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.2s var(--ease);
}
.check input:checked {
  background: var(--leaf-bright);
  border-color: var(--leaf-bright);
}
.check input:checked::after {
  transform: rotate(-45deg) scale(1);
}
.check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cf-turnstile {
  margin-bottom: 24px;
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 12px;
  padding: 26px;
  border-radius: 2px;
  background: #fff;
  color: #06110c;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.btn-submit:hover {
  background: var(--leaf-bright);
}
.btn-submit svg {
  transition: transform 0.5s var(--ease);
}
.btn-submit:hover svg {
  transform: translateX(6px);
}
.btn-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.thanks,
.notfound {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 100px;
}
.thanks__en,
.notfound__code {
  font-weight: 800;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.thanks__title,
.notfound__title {
  margin-top: 36px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}
.thanks__text,
.notfound__text {
  margin: 16px 0 36px;
  font-size: 15px;
  line-height: 2;
  color: var(--fg-2);
}
.thanks .btn-line,
.notfound .btn-line {
  align-self: flex-start;
}
.notfound__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- プライバシーポリシー ---------- */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.56fr);
  gap: 40px;
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(80px, 8vw, 120px);
}
.legal__body {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 2;
  color: var(--fg-2);
}
.legal__body h2 {
  margin: 44px 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--fg);
}
.legal__body p + p {
  margin-top: 1em;
}
.legal__body ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-top: 8px;
}
.legal__body a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__date {
  margin-top: 44px !important;
  font-size: 13px;
  color: var(--fg-3);
}

/* =========================================================
   ブログ（明るい画面）
   ========================================================= */
.blog-page,
.article-page {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(100px, 10vw, 150px);
}
.blog-head {
  padding: 28px 0 36px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.blog-head__en {
  font-size: 13px;
  font-weight: 800;
  color: var(--forest);
}
.blog-head__title {
  margin-top: 6px;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.blog-head__count {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 4.4vw, 64px);
}
.blog-sec + .blog-sec {
  margin-top: 64px;
}
.blog-sec__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.blog-sec__title {
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.03em;
}
.blog-sec__ja {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-2);
}
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.post-pickup {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 630;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
  background: #0f2a1e;
}
.post-pickup__img {
  position: absolute;
  inset: 0;
}
.post-pickup__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 12, 9, 0.92) 8%, rgba(5, 12, 9, 0.55) 45%, rgba(5, 12, 9, 0.05) 80%);
}
.post-pickup__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
}
.post-pickup__title {
  display: block;
  margin-top: 8px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 900;
  line-height: 1.6;
}
.post-pickup__by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-en);
}
.cat-label.is-on-image {
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}
.post-row__link {
  display: grid;
  grid-template-columns: minmax(160px, 300px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.post-row__img {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 630;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-3);
}
.post-row__title {
  display: block;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 900;
  line-height: 1.7;
  transition: color 0.3s;
}
.post-row__link:hover .post-row__title {
  color: var(--forest);
}
.post-row__excerpt {
  display: -webkit-box;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-2);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-row__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fg-2);
}
.post-row__by time {
  font-family: var(--font-en);
}
.post-row__by .cat-label {
  margin-left: 6px;
}
.blog-empty {
  padding: 48px 0;
  color: var(--fg-2);
  font-weight: 700;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  font-family: var(--font-en);
}
.pagination__num,
.pagination__step {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: background-color 0.3s;
}
.pagination a:hover {
  background: var(--bg-3);
}
.pagination__num.is-current {
  background: var(--fg);
  color: var(--bg);
}
.blog-side {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}
.blog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  outline: none;
}
.blog-search input::placeholder {
  color: var(--fg-3);
}
.blog-side__block {
  margin-top: 32px;
}
.blog-side__title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #e5eae6;
  font-size: 12.5px;
  font-weight: 700;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.chips a:hover {
  background: #d7dfd9;
}
.chips a.is-current {
  background: var(--fg);
  color: var(--bg);
}
.chips__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--leaf));
}
.chips__count {
  font-family: var(--font-en);
  font-size: 11px;
  opacity: 0.6;
}
.blog-banner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  margin-top: 36px;
  padding: 16px;
  border-radius: 10px;
  background: #0d1f17;
  color: #fff;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.blog-banner:hover {
  transform: translateY(-3px);
}
.blog-banner__img img {
  width: 84px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}
.blog-banner__kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
.blog-banner__logo {
  height: 22px;
  width: auto;
  margin: 8px 0;
  filter: brightness(0) invert(1);
}
.blog-banner__copy {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}
.blog-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--leaf-bright);
}

/* 記事 */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.article-share {
  justify-self: end;
  position: sticky;
  top: calc(var(--header-h) + 60px);
  align-self: start;
}
.article {
  grid-column: 2;
  min-width: 0;
}
.article__title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg-2);
}
.article__meta time {
  font-family: var(--font-en);
}
.article__author,
.article__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article__read {
  gap: 4px;
}
.article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.tag {
  padding: 7px 12px;
  border-radius: 4px;
  background: #e5eae6;
  font-size: 12px;
  font-weight: 700;
}
.tag:hover {
  background: #d7dfd9;
}
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
}
.cat-badge i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--leaf));
}
.article__cover {
  position: relative;
  margin-top: 30px;
  aspect-ratio: 1200 / 630;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-3);
}
.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.toc {
  margin-top: 40px;
  padding: 24px 28px 26px;
  border-radius: 6px;
  background: #e8ede9;
}
.toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}
.toc__list {
  margin-top: 12px;
  counter-reset: toc;
}
.toc__item a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--fg-2);
  transition: color 0.2s;
}
.toc__item--h2 {
  counter-increment: toc;
}
.toc__item--h2 a::before {
  content: counter(toc) '. ';
  font-family: var(--font-en);
  color: var(--forest);
}
.toc__item--h3 a {
  padding-left: 1.6em;
  font-weight: 500;
}
.toc__item a:hover,
.toc__item a.is-current {
  color: var(--fg);
}
.prose {
  margin-top: 44px;
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.prose > * + * {
  margin-top: 1.5em;
}
.prose h2 {
  margin-top: 2.8em;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--fg);
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 900;
  line-height: 1.6;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 {
  margin-top: 2.2em;
  padding-left: 14px;
  border-left: 4px solid var(--leaf);
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.6;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h4 {
  margin-top: 2em;
  font-size: 17px;
  font-weight: 900;
}
.prose strong {
  font-weight: 700;
  background: linear-gradient(transparent 62%, rgba(121, 201, 90, 0.42) 62%);
}
.prose mark {
  background: linear-gradient(transparent 55%, #f8e46c 55%);
  color: inherit;
}
.prose a {
  color: #1c7a3d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose li > p {
  margin: 0;
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 20px 24px;
  border-left: 4px solid #c9d4cc;
  background: #fff;
  color: var(--fg-2);
  border-radius: 0 6px 6px 0;
}
.prose blockquote p {
  margin: 0;
}
.prose pre {
  padding: 20px 22px;
  border-radius: 8px;
  background: #0d1f17;
  color: #e6f2ea;
  font-size: 13.5px;
  line-height: 1.75;
  overflow-x: auto;
  letter-spacing: 0;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: #e1e8e3;
  letter-spacing: 0;
}
.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3em 0;
}
.prose .embed {
  position: relative;
  aspect-ratio: 16 / 9;
}
.prose .embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}
.prose .table-wrap {
  overflow-x: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th {
  background: #e8ede9;
}
.article__foot {
  margin-top: 64px;
}
.share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.share__label {
  font-size: 12px;
  font-weight: 800;
  margin-right: 4px;
}
.share--vertical {
  flex-direction: column;
  gap: 12px;
}
.share--vertical .share__label {
  writing-mode: vertical-rl;
  margin: 0 0 10px;
}
.share__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--fg-2);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.share__btn:hover {
  background: var(--fg);
  color: var(--bg);
}
.share__btn.is-copied {
  background: var(--leaf);
  color: #fff;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 24px 26px;
  border-radius: 10px;
  background: #fff;
}
.author-box__label {
  font-size: 11px;
  font-weight: 800;
  color: var(--fg-3);
}
.author-box__name {
  font-size: 17px;
  font-weight: 900;
}
.author-box__org {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-2);
}
.pn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.pn__link {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.3s;
}
.pn__link:hover {
  border-color: var(--fg);
}
.pn__link--next {
  text-align: right;
  grid-column: 2;
}
.pn__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--fg-3);
}
.pn__title {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
}
.related {
  margin-top: clamp(80px, 8vw, 120px);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translate3d(0, 110%, 0);
  transition: transform 0.6s var(--ease);
  --logo-dark: var(--forest);
  --logo-light: var(--leaf);
}
.cta-bar.is-shown {
  transform: none;
}
.cta-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}
.cta-bar__mark svg {
  width: 36px;
  height: auto;
}
.cta-bar__text {
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
}
.cta-bar__btns {
  display: flex;
  gap: 10px;
}
.cta-bar__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid #16231c;
  border-radius: 2px;
  background: #16231c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.cta-bar__btn:hover {
  background: var(--forest);
  border-color: var(--forest);
}
.cta-bar__btn--line {
  background: #fff;
  color: #16231c;
}
.cta-bar__btn--line:hover {
  background: #16231c;
  color: #fff;
}
.preview-bar {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 120;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 999px;
  background: #e2b54f;
  color: #1b1405;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: max-content;
  max-width: calc(100% - 32px);
}
html[data-theme='light'] .contact-us,
html[data-theme='light'] .contact-us__link {
  background: #07110c;
  color: #fff;
  --fg: #fff;
  --bg: #07110c;
}
html[data-theme='light'] .contact-us {
  padding-top: clamp(80px, 8vw, 120px);
}

/* =========================================================
   タブレット・スマホ
   ========================================================= */
@media (max-width: 1100px) {
  :root {
    --gutter: 28px;
  }
  .svc-row {
    grid-template-columns: 48px minmax(0, 1fr) 80px 32px;
  }
  .svc-row__catch {
    display: none;
  }
  .site-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .f-office {
    grid-column: 1 / -1;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc-others__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .article {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-side {
    position: static;
  }
  .feature-grid,
  .ba-list,
  .approach__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .svc-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-hero__visual {
    max-width: 420px;
    margin: 12px auto 0;
  }
  .svc-hero__visual .phone {
    width: min(240px, 62%);
  }
  .svc-hero__mascot {
    width: min(260px, 64%);
  }
  .company {
    grid-template-columns: minmax(0, 1fr);
  }
  .side-nav {
    display: none;
  }
  .contact-top,
  .cform,
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .cform__side {
    position: static;
  }
  .legal__body {
    grid-column: 1;
  }
  .access {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --header-h: 60px;
  }
  body {
    font-size: 14px;
  }
  .u-pc {
    display: none;
  }
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .site-logo {
    order: 1;
    justify-self: start;
  }
  .site-header__nav {
    order: 2;
  }
  .menu-toggle {
    order: 3;
    justify-self: end;
    margin: 0 -10px 0 0;
  }
  .site-header__link {
    padding: 8px 8px;
    font-size: 14px;
  }
  .site-logo__mark {
    height: 26px;
  }
  .site-logo__type,
  .is-menu-open .site-logo__type {
    width: 94px;
  }
  .site-logo__type svg {
    height: 15px;
  }
  .is-scrolled .site-logo__type {
    width: 0;
  }
  .gmenu__inner {
    padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
    justify-content: flex-start;
  }
  .gmenu.has-sub .gmenu__main {
    position: relative;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-bottom: 24px;
  }
  .gmenu__sub small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
  }
  .gmenu__sub a {
    display: block;
    margin-bottom: 10px;
  }
  .gmenu__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero__title {
    font-size: clamp(48px, 16.4vw, 120px);
  }
  .hero__lead {
    font-size: 13px;
    max-width: 22em;
  }
  .hero__inner {
    padding-bottom: 160px;
  }
  .hero__circle {
    width: 116px;
    bottom: 36px;
  }
  .hero__ring {
    font-size: 11px;
  }
  .rail {
    height: auto !important;
  }
  .rail__sticky {
    position: relative;
    height: auto;
    padding-top: 64px;
  }
  .rail__count {
    display: none;
  }
  .rail__head {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .rail__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rail__viewport::-webkit-scrollbar {
    display: none;
  }
  .rail__track {
    transform: none !important;
  }
  .rail__item {
    scroll-snap-align: center;
  }
  .rail-card {
    width: 78vw;
  }
  .showcase__panel {
    left: 0;
  }
  .showcase__titles {
    top: calc(var(--header-h) + 28px);
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    transform: none;
  }
  .showcase__item {
    top: 0;
    transform: none;
  }
  .showcase__title {
    font-size: clamp(44px, 13.5vw, 72px);
  }
  .showcase__sub {
    margin-top: 14px;
    font-size: 12px;
  }
  .showcase__no {
    margin-bottom: 10px;
  }
  .showcase__visuals {
    left: 50%;
    top: auto;
    bottom: calc(clamp(28px, 7vh, 72px) + 64px);
    width: min(62vw, 280px, 36svh);
    transform: translateX(-50%);
  }
  .showcase__btn {
    --d: 92px !important;
    top: auto;
    bottom: calc(clamp(28px, 7vh, 72px) + 68px + 40px);
    right: var(--gutter);
    margin-top: 0;
  }
  .showcase__pager {
    left: 50%;
  }
  .showcase__dot {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
  .statement__text .w {
    opacity: 0.22;
  }
  .blogfeat__word {
    position: relative;
    inset: auto;
    margin-bottom: 24px;
  }
  .blogfeat__word span {
    position: static;
    font-size: 30vw;
  }
  .blogfeat__grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 var(--gutter);
  }
  .blogfeat__col--offset {
    padding-top: 0;
  }
  .post-stagger,
  .blog-brand {
    margin-bottom: 48px;
  }
  .latest__head {
    flex-wrap: wrap;
  }
  .latest__grid,
  .related__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .post-latest {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 4px 14px;
  }
  .post-latest__img {
    grid-row: 1 / span 2;
  }
  .post-latest__title {
    margin-top: 0;
    font-size: 13px;
  }
  .linkcards {
    grid-template-columns: minmax(0, 1fr);
  }
  .linkcard {
    aspect-ratio: 16 / 9;
  }
  .contact-us__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .contact-us .circle-btn {
    --d: 110px;
    align-self: flex-end;
    margin-top: -40px;
  }
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }
  .f-col--info {
    grid-column: 1 / -1;
  }
  .site-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .svc-row {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 12px;
    padding: 24px 12px;
  }
  .svc-row__no,
  .svc-row__arrow {
    display: none;
  }
  .svc-row__thumb {
    height: 64px;
  }
  .svc-row__thumb img {
    max-height: 64px;
  }
  .svc-row__name small {
    display: block;
    margin: 4px 0 0;
  }
  .feature-grid,
  .ba-list,
  .approach__list,
  .plans,
  .plans--3,
  .extra-list,
  .biz-list,
  .members,
  .kinds,
  .field-row,
  .svc-others__list,
  .pickup-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 1px solid var(--line);
    margin-left: 4px;
  }
  .flow__step {
    padding: 0 0 28px 24px;
  }
  .flow__step::before {
    top: 6px;
    left: -5px;
  }
  .svc-hero__cta > a {
    width: 100%;
  }
  .shot--desktop .shot__frame {
    width: 82vw;
  }
  .shot--phone .shot__frame {
    width: 52vw;
  }
  .def-table__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 20px 0;
  }
  .def-list__role {
    display: block;
    min-width: 0;
  }
  .post-row__link {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 20px 0;
  }
  .post-pickup {
    aspect-ratio: auto;
    background: none;
    color: var(--fg);
    overflow: visible;
  }
  .post-pickup__img {
    position: relative;
    display: block;
    aspect-ratio: 1200 / 630;
    border-radius: 6px;
    overflow: hidden;
  }
  .post-pickup__shade {
    display: none;
  }
  .post-pickup__body {
    position: static;
    display: block;
    margin-top: 12px;
  }
  .cat-label.is-on-image {
    padding: 0;
    background: none;
    backdrop-filter: none;
  }
  .post-pickup__by {
    color: var(--fg-2);
  }
  .post-row__excerpt {
    display: none;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }
  .article {
    grid-column: 1;
  }
  .article-share {
    display: none;
  }
  .cat-badge {
    margin-left: 0;
  }
  .cta-bar__mark,
  .cta-bar__text {
    display: none;
  }
  .cta-bar__btns {
    width: 100%;
  }
  .cta-bar__btn {
    flex: 1;
    justify-content: center;
    padding: 13px 10px;
  }
  .pn {
    grid-template-columns: minmax(0, 1fr);
  }
  .pn__link--next {
    grid-column: 1;
  }
  .preview-bar {
    bottom: 80px;
    font-size: 12px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-lines] .ln__in,
  .js [data-split] .ln__in,
  .js .hero__title .ln__in,
  .js .hero__lead {
    opacity: 1 !important;
    transform: none !important;
  }
}
