@charset "UTF-8";

@font-face {
  font-family: "TekitouPoem";
  src:
    url("../fonts/TekitouPoem.woff2") format("woff2"),
    url("../fonts/TekitouPoem.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TekitouPoem";
  src:
    url("../fonts/TekitouPoem_SemiBold.woff2") format("woff2"),
    url("../fonts/TekitouPoem_ExtraBold.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TekitouPoem";
  src:
    url("../fonts/TekitouPoem_Bold.woff2") format("woff2"),
    url("../fonts/TekitouPoem_Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
    Root variables
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --color-bg: #f7faf8;
  /* Bg.Default */
  --color-bg-white: #fff;
  /* Bg.White */
  --color-bg-mint: #f1faf9;
  /* Bg.Soft */
  --color-bg-teal: #dff3f2;
  /* Bg.Teal */
  --color-bg-field: #f3fbf6;
  /* Bg.Field */
  --color-bg-gray: #eef5f4;
  /* ≈ Border.Light, used as subtle gray bg */

  /* Text */
  --color-ink: #1d2b2b;
  /* Text.Main */
  --color-text: #3e4f4f;
  /* Text.Sub */
  --color-text-soft: #5f6f6f;
  /* Text.Muted */
  --color-text-teal: #dff3f2;
  /* Text.Teal — light teal text on dark bg */
  --color-white: #ffffff;
  /* Text.White */

  /* Brand */
  --color-teal: #157a80;
  /* Brand.Main */
  --color-teal-light: #2fa6a3;
  /* Brand.Light */
  --color-teal-dark: #0f4f53;
  /* Brand.Dark */
  --color-teal-deep: #0b373a;
  /* derived: darker than Brand.Dark, for deep bg (CTA/footer) */
  --color-green: #36a96b;
  /* Brand.Green */
  --color-green-corporate: #008719;
  /* Brand.Corporate */
  --color-green-light: #f3fbf6;
  /* alias of Bg.Field, used for soft green fills */

  /* ----- "Harvest" gradient ----- */
  /* color stops only — the raw ingredients, no direction yet */
  --gradient-harvest-stops: #67b62e 0%, #a2d039 35%, #ddeb45 69%, #edb54b 100%;
  /* horizontal (left → right) */
  --gradient-harvest: linear-gradient(90deg, var(--gradient-harvest-stops));
  /* rotated 90° — vertical (top → bottom) */
  --gradient-harvest-vertical: linear-gradient(180deg,
      var(--gradient-harvest-stops));

  /* ----- "Brand" gradient 1 ---- */
  /* color stops only — the raw ingredients, no direction yet */
  --gradient-brand-stops: #008719 0%, #4cac60 24%, #e5f6ed 72%, #157a80 100%;
  /* horizontal (left → right) */
  --gradient-brand: linear-gradient(90deg, var(--gradient-brand-stops));
  /* rotated 90° — vertical (top → bottom) */
  --gradient-brand-vertical: linear-gradient(180deg,
      var(--gradient-brand-stops));
  --gradient-brand-stops-transparent: var(--color-bg) 0, #157a80 61%, #008719 100%;

  /* ----- "Brand" gradient 2 ----- */
  /* color stops only — the raw ingredients, no direction yet */
  --gradient-brand-transparent: #008719 0%, #4cac60 24%, #e5f6ed 88%, #fff 100%;
  --gradient-brand-trans: linear-gradient(90deg,
      var(--gradient-brand-transparent));

  /* ----- Buttons ----- */
  --color-btn-bg: #157a80;
  --color-btn-text: #ffffff;
  --color-btn-hover: #0f4f53;
  --color-btn-secondary-bg: #ffffff;
  --color-btn-secondary-text: #157a80;

  /* ----- Borders ----- */
  --color-line: #d9e6e4;
  /* Border.Default */
  --color-line-light: #eef5f4;
  /* Border.Light */
  --color-line-accent: #dff3f2;
  /* Border.Accent */

  /* ----- Tags ----- */
  --color-tag-teal-bg: #dff3f2;
  --color-tag-teal-text: #157a80;
  --color-tag-field-bg: #e5f6ed;
  --color-tag-field-text: #1d7a45;

  /* ----- Fonts ----- */
  --font-mixed: "Teko", "Noto Sans JP", system-ui, sans-serif;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Teko", "Noto Sans JP", sans-serif;
  --font-hand: "TekitouPoem", "Noto Sans JP", cursive;

  /* ----- Fluid size scale ----- */

  /* 160px → 80px */
  --size-160: clamp(5rem, 3.2394rem + 7.5117vw, 10rem);

  /* 112px → 56px */
  --size-112: clamp(3.5rem, 2.2676rem + 5.2582vw, 7rem);

  /* 64px → 42px */
  --size-64: clamp(2.625rem, 2.1408rem + 2.0657vw, 4rem);

  /* 48px → 31px */
  --size-48: clamp(1.9375rem, 1.5634rem + 1.5962vw, 3rem);

  /* 44px → 29px */
  --size-44: clamp(1.8125rem, 1.4824rem + 1.4085vw, 2.75rem);

  /* 40px → 26px */
  --size-40: clamp(1.625rem, 1.3169rem + 1.3146vw, 2.5rem);

  /* 32px → 20px */
  --size-32: clamp(1.25rem, 0.9859rem + 1.1268vw, 2rem);

  /* 24px → 18px */
  --size-24: clamp(1.125rem, 0.9929rem + 0.5634vw, 1.5rem);

  /* 20px → 16px */
  --size-20: clamp(1rem, 0.912rem + 0.3756vw, 1.25rem);

  /* 18px @1440 → 16px @375 */
  --size-18: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);

  /* 16px normal */
  --size-body: 1rem;

  /* 15px */
  --size-small: 0.9375rem;

  /* 14px */
  --size-xs: 0.875rem;

  /* 12px */
  --size-caption: 0.75rem;

  /* ----- Shared weight tokens ----- */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;

  /* ----- Shared letter-spacing tokens (Figma % → em) ----- */
  --tracking-xtight: 0.02em;
  /* 2% */
  --tracking-normal: 0.05em;
  /* 5% */
  --tracking-wide: 0.075em;
  /* 7.5% */
  --tracking-wider: 0.1em;
  /* 10% */

  /*  ----- Layout ----- */
  --container-w: 1180px;
  --gutter: 6vw;
  --gutter-pc: 80px;

  /* ----- Motion ----- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (width < 426px) {
  :root {
    --size-48: min(7.25vw, 32px);
    --size-44: min(6vw, 26px);

    --size-40: min(5.75vw, 23px);

    --size-32: min(5.5vw, 22px);
    --size-24: min(5.25vw, 19px);

    --size-20: min(5vw, 17px);

    --size-18: 1rem;
    --size-body: 0.9rem;
    --size-small: 0.875rem;

    /* 14px */
    --size-xs: 0.875rem;

    /* 12px */
    --size-caption: 0.75rem;
  }
}

/* ------Color ------ */
/* text color gradient-brand-1 */
.gradient-text-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* text color gradient-brand-2 */
.gradient-text-brand-trans {
  background: var(--gradient-brand-trans);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Display ----- */

/* Display/XL */
.text-display-xl {
  font-size: var(--size-64);
  font-weight: var(--font-weight-bold);
}

/* Display/L */
.text-display-l {
  font-size: var(--size-48);
  font-weight: var(--font-weight-medium);
}

/* ----- Heading ----- */

/* Heading/H1 */
.text-heading-h1 {
  font-size: var(--size-48);
  font-weight: var(--font-weight-medium);
}

/* Heading/H2 */
.text-heading-h2 {
  font-size: var(--size-44);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
}

/* Heading/H2.5 */
.text-heading-h2-5 {
  font-size: var(--size-40);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wide);
}

/* Heading/H3 */
.text-heading-h3 {
  font-size: var(--size-32);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* Heading/H4 */
.text-heading-h4 {
  font-size: var(--size-24);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* Heading/H5 */
.text-heading-h5 {
  font-size: var(--size-20);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* ----- JP / Text ----- */

/* JP/Text/Large/Large */
.text-large {
  font-size: var(--size-18);
}

/* Text/Default/Default */
.text-body {
  font-size: var(--size-body);
}

/* Text/Small/Small */
.text-small {
  font-size: var(--size-small);
}

/* Text/XS/XS */
.text-xs {
  font-size: var(--size-xs);
}

/* JP/Text/XXS/XXS */
.text-xxs {
  font-size: var(--size-caption);
}

/* ----- Mix / Text ----- */
.text-s-500 {
  font-size: var(--size-small);
  font-weight: var(--font-weight-medium);
}

.text-xs-600 {
  font-size: var(--size-xs);
  font-weight: var(--font-weight-bold);
}

/* ----- EN / Display ----- */

/* EN/Display/XL */
.text-en-display-xl {
  font-family: var(--font-en);
  font-size: var(--size-160);
  font-weight: var(--font-weight-medium);
}

/* EN/Display/L */
.text-en-display-large {
  font-family: var(--font-en);
  font-size: var(--size-112);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-normal);
}

/* EN/Display/M */
.text-en-display-m {
  font-family: var(--font-en);
  font-size: var(--size-64);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-xtight);
}

/* ----- EN / Heading ----- */

/* EN/Heading/H1 */
.text-en-heading-h1 {
  font-family: var(--font-en);
  font-size: var(--size-48);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* EN/Heading/H2 */
.text-en-heading-h2 {
  font-family: var(--font-en);
  font-size: var(--size-40);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wider);
}

/* EN/Heading/H3 */
.text-en-heading-h3 {
  font-family: var(--font-en);
  font-size: var(--size-24);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* EN/Heading/H4 */
.text-en-heading-h4 {
  font-family: var(--font-en);
  font-size: var(--size-20);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* EN / Text */

/* EN/Text/Large/Large */
.text-en-text-large {
  font-family: var(--font-en);
  font-size: var(--size-18);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-wider);
}

/* EN/Text/Default/Default */
.text-en-text-default {
  font-family: var(--font-en);
  font-size: var(--size-body);
  letter-spacing: var(--tracking-wider);
}

/* EN/Text/Small/Small */
.text-en-text-small {
  font-family: var(--font-en);
  font-size: var(--size-small);
  letter-spacing: var(--tracking-wider);
}

/* EN/Text/XS/XS */
.text-en-text-xs {
  font-family: var(--font-en);
  font-size: var(--size-xs);
  letter-spacing: var(--tracking-wider);
}

/* EN/Text/XXS/XXS */
.text-en-text-xxs {
  font-family: var(--font-en);
  font-size: var(--size-caption);
  letter-spacing: var(--tracking-wider);
}

/* font family reset */
.ffamily-reset {
  font-family: var(--font-mixed);
}

.ffamily-jp {
  font-family: var(--font-jp);
}

.ffmily-en {
  font-family: var(--font-en);
}

.ffamily-hand {
  font-family: var(--font-hand);
}

/* Weight modifiers — override the base class's default weight */
.weight-regular {
  font-weight: var(--font-weight-regular);
}

.weight-medium {
  font-weight: var(--font-weight-medium);
}

.weight-bold {
  font-weight: var(--font-weight-bold);
}


/* Letter-spacing modifiers — override the base class's default tracking */
/* 2% */
.tracking-xtight {
  letter-spacing: var(--tracking-xtight);
}

/* 5% */
.tracking-normal {
  letter-spacing: var(--tracking-normal);
}

/* 7.5% */
.tracking-wide {
  letter-spacing: var(--tracking-wide);
}

/* 10% */
.tracking-wider {
  letter-spacing: var(--tracking-wider);
}

/* --------------------------------------------------------------------------
    Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* base size */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  overflow-y: visible;
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.snap-target {
  scroll-snap-align: start;
  /* scroll-snap-stop: always; */
}

body {
  /* default size */
  font-size: var(--size-body);
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-mixed);
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-normal);
  overflow-x: clip;
  overflow-y: visible;
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
}

.main {
  overflow-x: clip;
}

.tel-link {
  pointer-events: none;
}

.text-indent-1 {
  display: inline-block;
  text-indent: -0.5rem;
}

.text-indent-2 {
  display: inline-block;
  text-indent: 0rem;
}

.nowrap {
  white-space: nowrap;
}

.vertical-lr {
  writing-mode: vertical-lr;
}

.display-sp {
  display: none;
}

.none-sp {
  display: block;
}

@media (width < 769px) {
  .tel-link {
    pointer-events: auto;
  }

  html,
  body {
    font-size: 0.95rem;
  }
}

@media (width < 431px) {

  html,
  body {
    font-size: 0.875rem;
  }

  .display-sp {
    display: block;
  }

  .none-sp {
    display: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
    Common section parts
   -------------------------------------------------------------------------- */
section {
  position: relative;
  padding: 12rem min(var(--gutter-pc), var(--gutter)) 0;
  display: flex;
  flex-direction: column;
}

.section__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-heading {
  color: var(--color-ink);
  font-family: var(--font-jp);
}

.section-heading--light {
  color: var(--color-white);
}

.section-eyebrow {
  color: var(--color-teal);
  margin-block-end: 12px;
  margin-inline-start: 4px;
}

.section-eyebrow--light {
  color: var(--color-teal-light);
}

.section-heading__subtext {
  margin-block-start: 56px;
}

/* generic image placeholder (swap with real <img> assets) */
[class$="__media"],
[class$="__thumb"],
[class$="__photo"],
[class$="-img"],
[class$="-photo"] {
  /* background: linear-gradient(135deg, #cfd6d2, #e7ebe8); */
}

.label-m {
  font-size: var(--size-18);
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-medium);
}

.label-s {
  font-size: var(--size-small);
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-medium);
}

/* ----- design tips ----- */
/* dot lines */
/* dot lines -- vertical  */
.dot-line-vertical-wrap {
  position: relative;
  display: inline-block;
  width: 8px;
}

.dot-line-vertical-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 8px;
  background-image: radial-gradient(circle,
      rgba(327, 230, 228, 0.5) 1px,
      transparent 1px);
  background-size: 4px 8px;
  background-repeat: repeat-y;
  background-position: center top;
}

.arrow-down {
  display: block;
  transition: transform 0.2s ease;
}

/* layout */
.layout-flex {
  display: flex;
  gap: 1.5rem;
}

@media (width < 769px) {
  .section-heading {
    letter-spacing: var(--tracking-normal);
  }

  .section-heading__subtext {
    font-size: var(--size-small);
  }
}

@media (width < 600px) {
  .section-heading {
    white-space: nowrap;
  }
}

@media (width < 426px) {
  section {
    padding: 8rem min(var(--gutter-pc), var(--gutter)) 0;
  }

  .section-eyebrow {
    font-size: var(--size-small);
  }
}


/* ==========================================================================
    HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  background: transparent;
  pointer-events: none;
}

.header__inner {
  padding: 1.6rem 1rem;
  pointer-events: auto;
  display: inline-flex;
}

.header__logo {
  position: relative;
  display: block;
  width: 8.68vw;
  max-width: 160px;
  min-width: 90px;
  aspect-ratio: 433 / 158;
  transition: width .3s ease, min-width .3s ease, max-width .3s ease, aspect-ratio .3s ease;
}

.header__logo.is-fixed {
  width: 5vw;
  min-width: 56px;
  max-width: 56px;
  aspect-ratio: 44 / 115;
}

.header__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-default,
.logo-fixed {
  transition: opacity .3s ease;
}


.logo-default {
  opacity: 1;
}

.logo-fixed {
  opacity: 0;
}

.header__logo.is-fixed .logo-default {
  opacity: 0;
}

.header__logo.is-fixed .logo-fixed {
  opacity: 1;
}

/* --------------------------------------------------------------------------
  Menu toggle tab
  -------------------------------------------------------------------------- */
.menu-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 1.6rem 0.5rem 1.5rem 0.75rem;
  transition:
    background 0.15s var(--ease),
    right 0.25s var(--ease) 0.35s;
}

.menu-tab__label {
  display: inline-block;
  padding-top: 2px;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  position: relative;
  line-height: 1.8;
  z-index: 2;
}

.menu-tab__label::before,
.menu-tab__label::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: -2.75%;
  right: auto;
  margin: 0;
  transform: none;
  width: 105%;
  height: 4px;
  background-size: 10px 4px;
  background-repeat: repeat-x;
  background-position: center;
  background-image: radial-gradient(circle at center, rgba(217, 230, 228, 0.72) 1.5px, transparent 2.2px);
  transform-origin: center;
  transition:
    top 0.35s var(--ease),
    bottom 0.35s var(--ease),
    transform 0.35s var(--ease),
    opacity 0.2s var(--ease);
}

.menu-tab__label::before {
  top: 0;
  transform: translateY(-6px) rotate(0deg);
}

.menu-tab__label::after {
  bottom: 0;
  transform: translateY(6px) rotate(0deg);
}

/* CLOSE時：中央に寄せてクロス */
.menu-tab[aria-expanded="true"] .menu-tab__label::before {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(45deg);
}

.menu-tab[aria-expanded="true"] .menu-tab__label::after {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

.menu-tab[aria-expanded="true"] .menu-tab__label::before,
.menu-tab[aria-expanded="true"] .menu-tab__label::after {
  width: 88%;
  left: 6%;
}

.menu-tab[aria-expanded="true"] {
  background: var(--color-green);
}

.menu-tab:hover {
  filter: brightness(1.05);
}

@media (width < 769px) {
  .menu-tab {
    top: 0;
    transform: unset;
    border-radius: 0 0 0 8px;
    padding: 1rem 0.5rem 1rem 0.55rem;
  }

  .menu-tab__label {
    font-size: 0.9rem;
  }

  .menu-tab__label::before,
  .menu-tab__label::after {
    background-size: 8px 4px;
    background-image: radial-gradient(circle at center, rgba(217, 230, 228, 0.72) 1.4px, transparent 1.8px);
  }
}

/* --------------------------------------------------------------------------
    Full-screen site menu overlay
   -------------------------------------------------------------------------- */
.gnav {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--color-teal-deep);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}

.gnav.is-open {
  transform: translateX(0);
}

.gnav__media {
  position: relative;
  overflow: hidden;
}

.gnav__media {
  background-image: url(../images/gnav__media.jpg);
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: visible;
  width: calc(100% + 40px);
}

.gnav__panel {
  position: relative;
  --gnav-pad-top: 5.5rem;
  --gnav-pad-bottom: 1rem;
  --gnav-pad-left: 4vw;
  color: var(--color-white);
  border-top-left-radius: 24px;
  background-color: var(--color-teal-dark);
  height: 100dvh;
  padding: var(--gnav-pad-top) 0 var(--gnav-pad-bottom) var(--gnav-pad-left);
  overflow: visible;
}

.gnav__mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gnav__start-img {
  position: absolute;
  transform: translateX(-50%);
  left: -16px;
  bottom: 40px;
}

.gnav__scroll {
  display: flex;
  flex-direction: column;
  width: 64%;
  max-width: 490px;
  min-width: 224px;
  justify-self: flex-end;
  max-height: calc(100dvh - var(--gnav-pad-top) - var(--gnav-pad-bottom));
  overflow-y: auto;
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
  padding-inline: 0 4vw;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #b8c8c3 transparent;
  position: relative;
  z-index: 1;
}

.gnav__scroll::-webkit-scrollbar {
  width: 8px;
}

.gnav__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.gnav__scroll::-webkit-scrollbar-thumb {
  background: #b8c8c3;
  border-radius: 999px;
}

.gnav__sitemenu {
  position: absolute;
  top: 2.2rem;
  right: 4.5vw;
  width: fit-content;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gnav__group {
  margin-block-end: 2.6rem;
}

.gnav__group-link {
  display: flex;
  align-items: flex-end;
  margin-block-end: 1.2rem;
  flex-direction: column;
}

.gnav__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-top-left-radius: 16px;
  flex-shrink: 0;
}

.gnav__thumb--recruit {
  background-image: url(../images/gnav__thumb-recruit.jpg);
  background-position: center;
  background-size: cover;
}

.gnav__thumb--company {
  background-image: url(../images/gnav__thumb-company.jpg);
  background-position: center;
  background-size: cover;
}

.gnav__group-title {
  font-family: var(--font-en);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.gnav__item {
  padding-block-end: 0.2rem;
}

.gnav__link {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
}

.gnav__link:hover {
  opacity: 0.75;
}

.gnav__contact {
  margin-block-start: 3rem;
  padding-block-start: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.gnav__contact-text {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.8;
}

.gnav__company {
  margin-block-start: 1.4rem;
  width: min(18vw, 280px);
}

.gnav__company-sub {
  font-size: 0.7rem;
  font-weight: 400;
  margin-inline-end: 0.4em;
  opacity: 0.8;
}

.company-info__address.layout-flex {
  gap: 0.5rem;
}

.gnav__address {
  margin-block-start: 1rem;
  opacity: 0.8;
}

.gnav__tel {
  margin-block-start: 0.6rem;
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.gnav__tel-label {
  margin-inline-end: 0.25rem;
  opacity: 0.75;
}

.gnav__hours-label {
  font-size: var(--size-caption);
  opacity: 0.75;

}

.gnav__mail {
  margin-block-start: 0.5rem;
}

.gnav__mail a {
  text-decoration: underline;
}

@media (1023px < width < 1680px) {
  .gnav__media {
    background-image: url(../images/gnav__media--portrait.jpg);
    background-position: top right;
  }
}

@media (width < 1025px) {
  .header__inner {
    padding: 1rem 2vw;
  }

  .header__logo.is-fixed {
    width: 3vw;
    min-width: 32px;
    max-width: 56px;
  }

  #globalNav.gnav {
    height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: 34vh minmax(0, 1fr);
  }

  .gnav__media {
    background-position: top left;
    width: 100%;
    height: calc(100% + 40px);
  }

  .gnav__mark {
    width: 96px;
    transform: translate(0, -50%);
    left: 3.5rem;
  }

  .gnav__start-img {
    transform: translate(0, -50%);
    left: 3.25rem;
    top: 0;
    max-width: 80%;
  }

  .gnav__panel {
    min-height: 0;
    overflow: visible;
    padding: 5rem 0 1.5rem 0;
    height: 100%;
  }

  .gnav__scroll {
    min-height: 0;
    height: 100%;
    max-width: unset;
    overflow-y: auto;
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
  }

  .gnav__sitemenu {
    top: 5rem;
    left: 3.5rem;
  }

  .gnav__groups {
    display: flex;
    gap: 24px;
  }

  .gnav__groups .gnav__group {
    flex: 1;
  }

  .gnav__contact {
    margin-block-start: 2rem;
    padding-block-start: 1.5rem;
  }
}

@media (width < 600px) {
  .header__inner {
    padding: 0.5rem 1.5vw;
  }

  .header__logo.is-fixed {
    width: 3vw;
    min-width: 24px;
    max-width: 56px;
  }

  #globalNav.gnav {
    grid-template-rows: 24vh minmax(0, 1fr);
  }

  .gnav__panel {
    padding: 8rem 0 1.5rem 0;
  }

  .gnav__mark {
    left: 1.5rem;
    transform: translate(0, 0);
    top: 5rem;
    width: 64px;
    height: auto;
  }

  .gnav__scroll {
    padding-inline: 0 6vw;
  }

  .gnav__start-img {
    left: 1.35rem;
  }

  .gnav__sitemenu {
    top: 5rem;
    left: unset;
    right: 6vw;
  }

  .gnav__groups {
    flex-direction: column;
  }
}

@media (width < 500px) {}

/* ==========================================================================
    HERO
   ========================================================================== */
.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: auto;
  display: flex;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(200deg, #e9ede7 0%, #b9c4bb 45%, #8fa198 100%);
  overflow: hidden;
}

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.32);
}

.hero__bg-type {
  position: absolute;
  top: 32%;
  left: -2vw;
  font-weight: var(--font-weight-medium);
  font-size: 24vw;
  letter-spacing: 0.125em;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  color: transparent;
  background-image: linear-gradient(90deg, var(--color-teal) 0%, var(--color-teal) 22%, var(--color-teal-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  ;
}

.hero_bg-type--accent {
  color: transparent;
  background-image: linear-gradient(24deg, var(--color-green-corporate) 0%, #4cac60 40%, var(--color-tag-field-bg) 56%, #91c4c1 60%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__person {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero__person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__body {
  padding-inline-start: clamp(6vw, 409.457px - 0.00558vw * 100, 16vw);
  position: absolute;
  z-index: 3;
  top: clamp(421.484px, -0.016px + 29.25vw, 748.797px);
  left: 0;
  color: var(--color-ink);
}

.hero__copy {
  letter-spacing: 0.24em;
  line-height: 1.4;
}

.hero__copy-accent {
  color: transparent;
  background-image: linear-gradient(204deg, var(--color-green-corporate) 0%, #4cac60 40%, var(--color-tag-field-bg) 56%, #91c4c1 60%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  overflow: visible;
}

.hero__copy-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2px;
  width: 187px;
  height: 30px;
  z-index: -1;
  background-image: url(../images/Line-w.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hero__lead {
  margin-block-start: 2.5rem;
}

.entry-btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 4;
  width: 160px;
  height: 160px;
  transition: transform 0.3s var(--ease);
}

.entry-btn.is-fixed {
  position: fixed;
  top: auto;
  left: auto;
  right: 24px;
  bottom: 24px;
  transform: none;

}

.entry-btn__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  transform-origin: center;
  transform-box: fill-box;
}

.entry-btn:not(.is-fixed):hover .entry-btn__ring {
  transform: rotate(45deg);
}

@keyframes ringSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.entry-btn.is-fixed .entry-btn__ring {
  animation: ringSpin 24s linear infinite;
  transform: none;
  transition: transform 0.8s ease-out;
}

.entry-btn.is-fixed:hover {
  transform: scale(1.04);
}

.entry-btn.is-fixed:hover .entry-btn__ring {
  animation-play-state: paused;
  transform: rotate(0.08turn);
}

.entry-btn__ring .ring-text {
  fill: var(--color-teal-light);
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.15em;
}

.entry-btn__core {
  position: absolute;
  left: 40px;
  top: 40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  font-size: var(--size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
  background: var(--color-green-corporate);
}

@media (width < 1440px) {
  .hero {
    aspect-ratio: unset;
    max-height: 880px;
    min-height: 780px;
  }

  .hero__body {
    top: clamp(343.188px, 150.537px + 18.795vw, 421.188px);
  }

  .entry-btn.is-fixed {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

@media (width < 1025px) {
  .hero__body {
    top: 48%;
  }

  .hero__bg-type {
    font-size: max(28vw, 220px);
    letter-spacing: 0.075em;
  }

  .hero__copy {
    line-height: 1.24;
  }

  .hero__copy-accent::after {
    width: max(160px, 20vw);
  }

  .entry-btn {
    width: 108px;
    height: 108px;
  }

  .entry-btn__core {
    left: 25px;
    top: 25px;
    width: 57px;
    height: 57px;
  }

  .entry-btn__core span {
    display: inline-flex;
    line-height: 1.2;
    padding-block-start: 8px;
    justify-content: center;
    align-items: flex-end;
    font-size: var(--size-caption);
  }

  .entry-btn__core span:nth-child(2) {
    padding-block-start: 0;
    padding-block-end: 6px;
  }

  .entry-btn.is-fixed {
    bottom: 0;
    right: 0;
    width: 78px;
    height: 78px;
  }

  .entry-btn.is-fixed .entry-btn__core {
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
  }
}

@media (width < 769px) {
  .hero {
    max-height: 680px;
    min-height: 640px;
  }

  .hero__body {
    padding-inline-start: 6vw;
  }

  .hero__bg-type {
    font-size: calc(100vw / 3.5 * 1.1);
  }

  .hero__copy-accent::after {
    width: max(130px, 20vw);
    bottom: -8px;
  }

  .hero__media-img,
  .hero__person-img {
    object-position: right bottom;
  }
}


@media (width < 600px) {
  .hero__bg-type {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (width < 426px) {
  .hero {
    aspect-ratio: 9 / 16;
    max-height: 640px;
    min-height: 540px;
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero__bg-type {
    top: unset;
    bottom: 16%;
    font-size: calc(96vw / 2.8);
    letter-spacing: 0.025em;

  }

  .hero__body {
    top: 60%;
  }

  .hero__copy {
    letter-spacing: 0.15em;
  }

  .hero__lead.text-heading-h5 {
    font-size: var(--size-body);
  }

  .hero__copy,
  .hero__lead {
    --hero-text-y: 0px;
    translate: 0 var(--hero-text-y);
    will-change: translate;
  }

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

    .hero__copy,
    .hero__lead {
      translate: 0 0;
      will-change: auto;
    }
  }
}


/* ==========================================================================
    WHO THRIVES HERE
   ========================================================================== */
.thrives {
  position: relative;
}

.thrives::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0, var(--color-bg) 100%);
  z-index: 2;
}

.thrives .snap-target {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-block: 10rem;
  z-index: 3;
}

.thrives__sprout {
  position: absolute;
  top: 280px;
  left: calc(-5vw - var(--gutter-pc));
  width: 44vw;
  max-width: 800px;
}

.thrives__sprout img {
  width: 100%;
}

.thrives__intro {
  max-width: 640px;
  justify-self: flex-end;
  margin-block-end: 10rem;
}

.thrives__text {
  margin-block-start: 1.4rem;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

/* --------------------------------------------------------------------------
   Voice bubbles
   -------------------------------------------------------------------------- */
.thrives__voices {
  position: relative;
  margin: 0 calc(-1 * var(--gutter-pc));
  min-height: 640px;
  overflow: visible;
}

.thrives__voice {
  position: absolute;
  z-index: 2;
  font-size: 0.85rem;
  white-space: nowrap;
  background: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
  /* 白フキダシと同サイズの outline を、
     左上 or 右上に少しだけずらす */
  --outline-x: 4px;
  --outline-y: -3px;
  /* 「しっぽの位置」と「隠す幅」を持たせる */
  --tail-anchor: 22%;
  --tail-bottom: -24.5px;
  --tail-width: 16px;
  --tail-height: 25px;
  --tail-mask-width: 18px;
}

.thrives__voice::after {
  content: "";
  position: absolute;
  z-index: 2;
  /* left: calc(
    var(--tail-anchor) - (var(--tail-mask-width) / 2) + var(--outline-x)
  ); */
  bottom: 0;
  width: var(--tail-mask-width);
  height: 6px;
  background: var(--color-white);
  pointer-events: none;
}

.thrives__voice--tail-r::after {
  left: auto;
  /* right: calc(
    var(--tail-anchor) - (var(--tail-mask-width) / 2) - var(--outline-x)
  ); */
}

.thrives__voice.thrives__voice--back::after {
  background: var(--color-bg-gray);
}

.thrives__voice.thrives__voice--1::after,
.thrives__voice.thrives__voice--4::after {
  right: calc(var(--tail-anchor) - (var(--tail-mask-width) / 2) - var(--outline-x));
}

.thrives__voice.thrives__voice--3::after,
.thrives__voice.thrives__voice--6::after {
  right: calc(var(--tail-anchor) - (var(--tail-mask-width) / 2) + var(--outline-x));
}

.thrives__voice.thrives__voice--2::after,
.thrives__voice.thrives__voice--5::after,
.thrives__voice.thrives__voice--8::after,
.thrives__voice.thrives__voice--9::after {
  left: calc(var(--tail-anchor) - (var(--tail-mask-width) / 2) - var(--outline-x) + 2px);
}

.thrives__voice.thrives__voice--7::after,
.thrives__voice.thrives__voice--10::after {
  left: calc(var(--tail-anchor) - (var(--tail-mask-width) / 2) + var(--outline-x) + 2px);
}

.thrives__voices.is-visible .thrives__voice {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: thrivesFloat 5s ease-in-out calc(var(--i, 0) * 110ms + 0.8s) infinite;
  width: fit-content;
}

@keyframes thrivesFloat {

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

  50% {
    transform: translateY(-8px) translate(0, 0);
  }
}

@keyframes thrivesFloatBack {

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

  50% {
    transform: translateY(-8px) scale(0.96);
  }
}

@keyframes thrivesFloatGiant {

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

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

.thrives__voices.is-visible .thrives__voice--back {
  opacity: 0.55;
  transform: translateY(0) scale(0.96);
  animation-name: thrivesFloatBack;
}

.thrives__voices.is-visible .thrives__voice--giant {
  opacity: 0.4;
  transform: translateY(0);
  animation-name: thrivesFloatGiant;
}

.thrives__voice__text {
  position: relative;
  z-index: 3;
  display: block;
  padding: 0.65em 1.3em 0.85em;
  /* font-family: var(--font-hand); */
  font-weight: var(--font-weight-medium);
  font-size: var(--size-18);
}

.thrives__voice__text .highlight-size {
  font-size: var(--size-24);
}

/* outline 本体：白フキダシと同サイズ */
.thrives__voice::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: none;
  border: 1.5px solid var(--color-line);
  border-radius: 999px;
  pointer-events: none;
  transform: translate(var(--outline-x), var(--outline-y));
}

/* direction */
.thrives__voice--left {
  --outline-x: -4px;
  --outline-y: -3px;
}

.thrives__voice--right {
  --outline-x: 4px;
  --outline-y: -3px;
}

/* giant only */
.thrives__voice--giant {
  z-index: 0;
  font-weight: 500;
  filter: blur(2.8px);
  box-shadow: none;
  pointer-events: none;
  --outline-x: 5px;
  --outline-y: -4px;
  background: var(--color-bg-gray);
}

.thrives__voice--giant .thrives__voice__text {
  padding: 0.45em 1em 0.6em;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
}

.thrives__voice--giant .thrives__voice__body-tail,
.thrives__voice--giant .thrives__voice__outline-tail {
  width: 26px;
  height: 40px;
  bottom: -26px;
  margin-inline-start: -13px;
}

.thrives__voice--back {
  z-index: 1;
  filter: blur(2px);
  box-shadow: none;
  background: var(--color-bg-gray);
}

.thrives__voice--back .thrives__voice__text {
  font-size: 2rem;
}

/* bubble positions */
.thrives__voice--giant {
  left: max(68%, 68vw);
  bottom: 11%;
}

.thrives__voice--1 {
  left: max(27%, 27vw);
  top: 7.5%;
}

.thrives__voice--2 {
  left: max(63%, 63vw);
  top: 18%;
}

.thrives__voice--3 {
  left: max(8%, 8vw);
  top: 28%;
}

.thrives__voice--4 {
  left: max(35%, 35vw);
  top: 45%;
}

.thrives__voice--5 {
  left: max(64%, 64vw);
  top: 56%;
}

.thrives__voice--6 {
  left: max(16%, 16vw);
  top: 68.5%;
}

.thrives__voice--7 {
  left: max(51%, 51vw);
  top: 83%;
}

.thrives__voice--8 {
  left: max(50%, 50vw);
  top: 1%;
}

.thrives__voice--9 {
  left: max(19%, 19vw);
  top: 54%;
}

.thrives__voice--10 {
  left: max(-2.4%, -2.8vw);
  top: 36%;
}



/* tails */
.thrives__voice__body-tail,
.thrives__voice__outline-tail {
  position: absolute;
  left: calc(var(--tail-anchor) - 2px);
  bottom: var(--tail-bottom);
  width: var(--tail-width);
  height: var(--tail-height);
  margin-inline-start: calc(var(--tail-width) / -2);
  pointer-events: none;
}

.thrives__voice__body-tail {
  z-index: 4;
}

.thrives__voice__outline-tail {
  z-index: 5;
  color: var(--color-line);
  overflow: visible;
  transform: translate(var(--outline-x), var(--outline-y));
}

.thrives__voice--tail-r .thrives__voice__body-tail,
.thrives__voice--tail-r .thrives__voice__outline-tail {
  left: auto;
  right: calc(var(--tail-anchor) - 4px);
  margin-inline-start: 0;
  margin-inline-end: calc(var(--tail-width) / -2);
}

.thrives__voice--tail-r .thrives__voice__outline-tail {
  transform: translate(var(--outline-x), var(--outline-y)) scaleX(-1);
}

.thrives__outro {
  position: relative;
  height: 88svh;
  display: flex;
  align-items: center;
  font-weight: var(--font-weight-bold) !important;
  /* margin-inline: 6vw; */
  z-index: 3;
  overflow: visible;
  isolation: isolate;
}

.thrives__outro--text {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.thrives__outro--text img {
  margin-top: 1rem;
  max-width: 80%;
}

.thrives__face {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.56;
  z-index: 1;
  overflow: hidden;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.thrives__face.is-blob {
  border-radius: 42% 58% 63% 37% / 40% 43% 57% 60%;
  -webkit-mask-image: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 52%,
      rgba(0, 0, 0, 0.5) 68%,
      rgba(0, 0, 0, 0) 100%) !important;
  mask-image: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 52%,
      rgba(0, 0, 0, 0.5) 68%,
      rgba(0, 0, 0, 0) 100%) !important;
}

.thrives__face.is-blob.thrives__face--1 {
  top: 4%;
  left: 8%;
  width: max(20vw, 228px);
  background-image: url("../images/face01.jpg");
  aspect-ratio: 4 / 3;
}

.thrives__face.is-blob.thrives__face--2 {
  top: 3rem;
  right: 16vw;
  width: max(18vw, 208px);
  background-image: url("../images/face02.jpg");
  border-radius: 58% 42% 65% 35% / 34% 36% 64% 66%;

}

.thrives__face.is-blob.thrives__face--3 {
  top: 30%;
  right: -2vw;
  width: max(22vw, 252px);
  background-image: url("../images/face03.jpg");
}

.thrives__face.is-blob.thrives__face--4 {
  bottom: -3%;
  right: 12vw;
  width: max(26vw, 300px);
  background-image: url("../images/face04.jpg");
  border-radius: 60% 40% 58% 42% / 42% 40% 60% 58%;
  aspect-ratio: 7 / 5;
}

.thrives__face.is-blob.thrives__face--5 {
  bottom: 2%;
  left: 12vw;
  width: max(20vw, 240px);
  background-image: url("../images/face05.jpg");
}

.thrives__face.is-blob.thrives__face--6 {
  top: 45%;
  left: -2vw;
  width: max(16vw, 158px);
  background-image: url("../images/face06.jpg");
  border-radius: 24% 76% 33% 67% / 37% 33% 67% 63%;
  aspect-ratio: 4 / 3;
}

@media(width > 1920px) {
  .thrives__voice--giant {
    left: max(72%, 72vw);
  }

  .thrives__outro {
    height: 100svh;
    min-height: 1100px;
  }
}

@media (width < 1600px) {
  .thrives .snap-target {
    padding-block: 0;
  }

  .thrives__sprout {
    top: 18%;
  }

  .thrives__voice--giant {
    left: max(40%, 48vw);
    bottom: 12%;
  }

  .thrives__voice--1 {
    left: 16vw
  }

  .thrives__voice--2 {
    right: 4vw;
    left: unset;
  }

  .thrives__voice--3 {
    left: 6vw;
  }

  .thrives__voice--4 {
    left: 32vw;
  }

  .thrives__voice--5 {
    right: 2vw;
    left: unset;
  }

  .thrives__voice--6 {
    left: 10vw;
  }

  .thrives__voice--7 {
    right: 14vw;
    left: unset;
  }

  .thrives__voice--8 {
    right: 3vw;
    top: 0;
    left: unset;
  }

  .thrives__voice--9 {
    top: 36%;
    left: unset;
    right: -12vw;
  }

  .thrives__voice--10 {
    top: 48%;
    left: min(-4vw, -4%);
  }
}

@media (width < 1280px) {
  .thrives__face.is-blob.thrives__face--4 {
    right: 8vw;
    bottom: 8%;
  }

  .thrives__face.is-blob.thrives__face--5 {
    left: 7vw;
  }
}

@media (width < 1025px) {
  .thrives__voices {
    min-height: 720px;
  }

  .thrives__face.is-blob.thrives__face--1 {
    top: 12%;
    left: -2%;
    width: 32vw;
  }

  .thrives__face.is-blob.thrives__face--2 {
    top: 4%;
    right: 38%;
    width: 26vw;
  }

  .thrives__face.is-blob.thrives__face--3 {
    top: 14%;
    width: 32vw;
  }

  .thrives__face.is-blob.thrives__face--4 {
    right: -8vw;
    bottom: 16%;
    width: 44vw;
  }

  .thrives__face.is-blob.thrives__face--5 {
    width: 30vw;
    bottom: 6%;
    left: 20vw;
  }

  .thrives__face.is-blob.thrives__face--6 {
    top: unset;
    bottom: 24%;
    left: -5vw;
  }

}

@media (width < 769px) {
  .thrives__intro {
    max-width: unset;
    justify-self: unset;
  }

  .thrives__sprout {
    left: unset;
    right: calc(-5vw - var(--gutter));
  }

  .thrives__outro--text img {
    margin-top: 0rem;
  }

  .thrives__voices {
    height: auto;
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .thrives__voice,
  .thrives__voice--back,
  .thrives__voice--giant,
  .thrives__voice--1,
  .thrives__voice--2,
  .thrives__voice--3,
  .thrives__voice--4,
  .thrives__voice--5,
  .thrives__voice--6,
  .thrives__voice--7,
  .thrives__voice--8,
  .thrives__voice--9,
  .thrives__voice--10 {
    position: relative;
    left: auto;
    top: auto;
    max-width: unset;
    width: fit-content;
    white-space: normal;
    transform: none;
    animation: none;
    transition-delay: 0s;
  }

  .thrives__voices.is-visible .thrives__voice,
  .thrives__voices.is-visible .thrives__voice--back,
  .thrives__voices.is-visible .thrives__voice--giant {
    transform: none;
    animation: none;
  }

  .thrives__voice--1 {
    align-self: flex-start;
    order: 1;
    margin-inline-start: 6vw;
  }

  .thrives__voice--8 {
    align-self: flex-end;
    order: 2;
    margin-inline-end: -12vw;
  }

  .thrives__voice--3 {
    align-self: flex-start;
    order: 3;
    margin-inline-start: 6vw;
  }

  .thrives__voice--2 {
    align-self: flex-end;
    order: 4;
    margin-inline-end: 6vw;
  }

  .thrives__voice--9 {
    align-self: flex-start;
    order: 5;
    margin-inline-start: -16vw;
  }

  .thrives__voice--4 {
    align-self: flex-end;
    order: 6;
    margin-inline-end: 6vw;
  }

  .thrives__voice--5 {
    align-self: flex-start;
    order: 7;
    margin-inline-start: 6vw;
  }

  .thrives__voice--10 {
    align-self: flex-end;
    order: 8;
    margin-inline-end: -8vw;
  }

  .thrives__voice--6 {
    align-self: flex-start;
    order: 9;
    margin-inline-start: 6vw;
  }

  .thrives__voice--7 {
    align-self: flex-end;
    order: 10;
  }

  .thrives__voice--giant {
    align-self: center;
    order: 11;
    max-width: 130%;
    margin-inline-start: -14vw;
    margin-block-start: -24px;
  }

  .thrives__voice__text {
    padding: 0.75em 1.2em 1em;
    font-size: 0.875rem;
    letter-spacing: var(--tracking-normal);
  }

  .thrives__voice__text .highlight-size {
    font-size: 1rem;
  }

  .thrives__voice--back {
    filter: blur(1.4px);
  }

  .thrives__voice--back .thrives__voice__text {
    font-size: 1.2rem;
  }

  .thrives__voices.is-visible .thrives__voice--back {
    opacity: 0.5;
  }

  .thrives__voice--giant {
    filter: blur(2px);
  }

  .thrives__voice--giant .thrives__voice__text {
    padding: 0.65em 1.2em 0.8em;
  }

}

@media (width < 426px) {
  .thrives__voice__text {
    font-size: 0.85rem;
    letter-spacing: -0.05em;
  }

  .thrives__voice__text .highlight-size {
    letter-spacing: -0.1em;
  }

  .thrives__voice--4 p {
    white-space: nowrap;
  }

  .thrives__voice--7 {
    right: -5.5vw;
  }
}

@media (width < 361px) {
  .thrives__voice--2 {
    margin-inline-end: 0;
  }

  .thrives__voice--4 {
    margin-inline-end: -7vw;
  }

  .thrives__voice--5 {
    margin-inline-start: -2vw;
  }

  .thrives__outro--text {
    font-size: 1.125rem;
    top: 44%;
  }
}

@media (width < 321px) {

  .thrives__voice__text,
  .thrives__voice__text.nowrap {
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   FIELD FIRST (transition / greenhouse)
   ========================================================================== */
.field {
  padding: 32vw min(var(--gutter-pc), var(--gutter));
  gap: 3rem;
  color: var(--color-white);
  overflow: hidden;
}

.field__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/field-first_bg.jpg);
  background-position: top right;
  background-size: cover;
}

.field__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      var(--color-bg) 0%,
      transparent 20%,
      transparent 50%,
      #157A80 64%,
      #107D66 78%,
      #1B8765 86%,
      var(--color-bg) 100%);
}


.circle__stamp {
  position: absolute;
  right: 2vw;
  top: 6%;
  width: min(40vw, 640px);
  min-width: 400px;
  opacity: 0.88;
  pointer-events: none;
  z-index: 3;
  animation: slowRotate 48s linear infinite;
  transform-origin: center center;
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.field__lead {
  margin-block: 4.5rem;
}

.field__intro,
.field__block {
  position: relative;
  z-index: 4;
}

.field__block {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  line-height: 2.2;
}

.field__block .field__text.text-heading-h4 {
  line-height: 1.6;
}

.field__text {
  opacity: 0.92;
}

.field__quotes {
  font-size: 0.9rem;
  padding-inline-start: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
}

@media (1800px < width) {
  .circle__stamp {
    right: calc((100% - 1280px) / 2);
  }
}

@media (width < 769px) {
  .field {
    display: block;
    padding: 15rem 6vw;
  }

  .circle__stamp {
    top: 0;
  }

  .field__block {
    line-height: 1.8;
  }

  .field__block--01 {
    margin-block-end: 4.5rem;
  }
}

@media (width < 600px) {

  /* 共通 */
  .circle__stamp {
    width: min(56vw, 320px);
    min-width: 320px;
  }
}

@media (width < 426px) {
  .circle__stamp {
    width: min(72vw, 320px);
    min-width: 220px;
  }
}

/* ==========================================================================
   HOW WE WORK (tabs)
   ========================================================================== */
.how-work {
  position: relative;
  background: var(--color-bg);
}

.circle__stamp.how-work__stamp {
  left: 0;
  top: -14rem;
}

.how-work__intro {
  position: relative;
  left: 50%;
  max-width: 640px;
  z-index: 1;
}

.how-work__text {
  margin-block-start: 1.4rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.how-work__panel {
  position: relative;
  max-width: 1280px;
  margin: 5rem auto;
  z-index: 1;
  background-color: var(--color-bg-white);
  border-top-left-radius: 16px;
}

/* ---------- tabs layout ---------- */
.how-work__panel .tabs {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.tabs__nav {
  display: grid;
  gap: 0;
}

.tabs__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--color-text);
  width: 100%;
  border: none;
  background: transparent;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  transition: background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    opacity 0.3s ease;
}

.tabs__tab:first-child {
  border-top-left-radius: 16px;
}

.tabs__tab.is-active {
  background: var(--color-teal-light);
  color: var(--color-white);
}

.tabs__tab:hover {
  background: var(--color-bg-mint);
}

.tabs__tab.is-active:hover {
  background: var(--color-teal-light);
}

.tabs__tab.is-active .tabs__tab-num {
  color: rgba(255, 255, 255, 0.85);
}

.tabs__tab:focus-visible {
  outline: 2px solid #157a80;
  outline-offset: -2px;
}

.tabs__tab-num {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: var(--color-teal);
}

.tabs__tab-phase {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-indent: 0.25rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.tabs__tab-num em {
  display: block;
  font-style: normal;
  font-size: var(--size-64);
  line-height: 0.88;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
}

.tabs__tab--next .tabs__tab-num em {
  margin-inline-start: 18px;
}

.tabs__tab-title {
  font-weight: var(--font-weight-bold);
  padding-left: 0.8em;
}

.tabs__tab-note {
  text-indent: 1.4em;
}

/* ---------- dots ---------- */
.dots-line,
.dots-line.tabs__pane-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-size: 2px 8px;
  background-repeat: repeat-y;
  background-position: center top;
  background-image: radial-gradient(circle, #d9e6e4 1.4px, transparent 1.5px);
}

.dots-line.dots-line--bottom,
.dots-line.tabs__pane-line.tabs__pane-line--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  width: auto;
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: left center;
  background-image: radial-gradient(circle, #d9e6e4 1.4px, transparent 1.5px);
  right: 1rem;
  left: 1rem;
}

.dots-line.dots-line--left,
.dots-line.tabs__pane-line.tabs__pane-line--left {
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
}

.dots-line.dots-line--right,
.dots-line.tabs__pane-line.tabs__pane-line--right {
  right: 0;
  top: 1rem;
  bottom: 1rem;
}

/* ---------- content ---------- */

.tabs__content {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 40px;
  height: 100%;
}

.tabs__pane {
  display: none;
}

.tabs__pane.is-active {
  display: grid;
  animation: fadeUp 0.5s var(--ease);
  grid-template-columns: minmax(320px, 360px) minmax(320px, 1fr);
  gap: 40px;
  justify-content: space-between;
  justify-items: center;
  height: stretch;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.tabs__pane-text {
  display: grid;
  gap: 3rem;
  width: 100%;
  max-width: 360px;
}

.tabs__pane-text p {
  margin-block-end: 1.4rem;
  line-height: 2;
  font-weight: var(--font-weight-medium);
}

.tabs__pane-bg {
  position: absolute;
  z-index: -1;
  bottom: -40px;
  left: -40px;
  max-width: 100%;
}

.tabs__pane-img {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.48 / 1;
}

.tabs__pane-bg img {
  width: 100%;
  height: auto;
}

.tabs__pane-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tabs__pane-bg.tabs__pane-bg--upper {
  bottom: unset;
  top: -40px;
}

.tabs__pane-media {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: space-evenly;
}

.tabs__pane-media .tabs__pane-line--left {
  left: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

p.work__note {
  padding-inline: 1.5rem;
  font-size: var(--size-18);
  font-weight: var(--font-weight-medium);
  line-height: 2.2;
  color: var(--color-teal-dark);
}

@media (width < 1440px) {
  .how-work__panel {
    border-top-left-radius: 10px;
  }

  .how-work__panel .tabs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tabs__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tabs__tab:first-child {
    border-top-left-radius: 10px;
  }

  .tabs__tab {
    min-height: 150px;
    padding: 1.25rem 1rem 1.25rem 1.25rem;
  }

  .tabs__tab-num em {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
  }

  .tabs__tab-note {
    font-size: 0.875rem;
  }

  .tabs__content {
    padding: 32px 28px;
  }

  .tabs__pane.is-active {
    grid-template-columns: minmax(320px, 400px) minmax(320px, 480px);
    gap: 24px;
    align-items: center;
  }

  .tabs__pane-text {
    max-width: 320px;
    gap: 1.75rem;
  }

  .tabs__pane-text p {
    margin-block-end: 1rem;
    line-height: 1.85;
  }

  .tabs__pane-media .dots-line.tabs__pane-line.tabs__pane-line--left,
  .tabs__pane-media .dots-line.tabs__pane-line.tabs__pane-line--right {
    top: -1.5rem;
    bottom: -1.5rem;
  }

  .tabs__pane-media {
    gap: 12px;
  }

  .tabs__pane-bg {
    left: -20px;
    bottom: -20px;
    max-width: calc(100% + 20px);
  }

  .tabs__pane-bg.tabs__pane-bg--upper {
    top: -20px;
  }
}

@media (width < 900px) {
  .how-work__intro {
    left: 0;
    max-width: 100%;
  }

  .tabs__tab {
    min-height: 128px;
    padding: 1.5rem 1.25rem 1.5rem 1.75rem;
  }

  .tabs__tab-phase {
    font-size: 0.75rem;
  }

  .tabs__tab-num em {
    font-size: 3rem;
  }

  .tabs__tab.tabs__tab--next .tabs__tab-num em {
    font-size: 2.2rem;
    margin-inline-start: 1rem;
  }

  .tabs__tab-title {
    font-size: 1.05rem;
    padding-left: 1rem;
  }

  .tabs__tab-note {
    font-size: 0.8rem;
  }

  .tabs__content {
    padding: 24px 20px;
  }

  .tabs__pane.is-active {
    grid-template-columns: minmax(200px, 260px) minmax(220px, 1fr);
    gap: 18px;
  }

  .tabs__pane-media {
    max-width: 278px;
  }

  .tabs__pane-text {
    max-width: 260px;
    gap: 1.25rem;
  }

  .tabs__pane-text p {
    line-height: 1.7;
  }

}

@media (width < 600px) {
  .how-work__panel:not(.display-sp) {
    display: none;
  }

  .how-work__panel.display-sp {
    display: block;
    margin-inline-end: -6vw;
  }

  .how-work__panel.display-sp .how-work {
    padding: 5rem var(--gutter, 1rem) 5.5rem;
  }

  .how-work__panel.display-sp .how-work__panel {
    margin: 5rem auto 4rem;
  }

  .how-work__panel.display-sp .tabs__tab {
    min-height: auto;
    padding: 0.8rem;
  }

  .how-work__panel.display-sp .tabs__content {
    padding: 16px;
  }

  .how-work__panel.display-sp .tabs__pane.is-active {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-items: stretch;
    align-items: start;
  }

  .how-work__panel.display-sp .tabs__pane-text {
    max-width: 100%;
    gap: 1rem;
  }

  .how-work__panel.display-sp .tabs__pane-bg {
    left: -88px;
    bottom: -26px;
  }

  .how-work__panel.display-sp .tabs__pane-bg.tabs__pane-bg--upper {
    top: -64px;
    right: 0;
    left: unset;
    bottom: unset;
  }

  .how-work__panel.display-sp .tabs {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    /* 左タブ */
    gap: 0;
    align-items: stretch;
  }

  .how-work__panel.display-sp .tabs__nav {
    display: flex;
    flex-direction: column;
    border-top: 0;
    border-right: 1px solid var(--color-line);
    height: 100%;
  }

  .how-work__panel.display-sp .tabs__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 2.5rem 0.5rem 1.5rem 1.5rem;
  }

  .how-work__panel.display-sp .tabs__tab {
    flex-direction: row;
    padding: 0.75rem 0.5rem;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-line);
    position: relative;
  }

  .how-work__panel.display-sp .tabs__tab-num {
    flex-direction: column;
    gap: 0;
  }

  .how-work__panel.display-sp .tabs__tab .arrow-down {
    position: absolute;
    bottom: 0;
    left: 0.5rem;
  }

  .how-work__panel.display-sp .tabs__tab .arrow-down-w {
    display: none;
  }

  .how-work__panel.display-sp .tabs__tab.is-active .arrow-down {
    display: none;
    transition: all 0.3s;
  }

  .how-work__panel.display-sp .tabs__tab.is-active .arrow-down-w {
    display: block;
    transition: all 0.3s;
  }

  .how-work__panel.display-sp .tabs__tab-title {
    writing-mode: vertical-lr;
    display: inline-block;
    margin-inline: 0.8rem 0;
    padding-block: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    height: max-content;
  }

  .how-work__panel.display-sp .tabs__tab--next .tabs__tab-title {
    position: absolute;
    top: 0;
    right: 0.6rem;
  }

  .how-work__panel.display-sp .tabs__tab-phase {
    writing-mode: horizontal-tb;
    text-indent: 0;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .how-work__panel.display-sp .tabs__tab-num em {
    font-size: 2rem;
    line-height: 1;
    margin-inline-start: 0;
  }

  .how-work__panel.display-sp .tabs__tab-num em .vertical-lr {
    margin-inline-end: -4px;
    line-height: 0.8;
    display: inline-block;
    transform: translateX(-4px);
  }

  /* アクティブだけ見出しを絞る */
  .how-work__panel.display-sp .tabs__tab.is-active {
    background: var(--color-teal-light);
    padding-inline: 0.4rem;
    align-items: center;
    min-height: 72px;

  }

  .how-work__panel.display-sp .tabs__tab.is-active .tabs__tab-title,
  .how-work__panel.display-sp .tabs__tab.is-active .tabs__tab-note,
  .how-work__panel.display-sp .tabs__tab.is-active .tabs__pane-line--left,
  .how-work__panel.display-sp .tabs__tab.is-active .tabs__pane-line--right,
  .how-work__panel.display-sp .tabs__tab.is-active .tabs__pane-line--bottom {
    display: none;
  }

  .how-work__panel.display-sp .tabs__pane-media {
    max-width: 220px;
    width: 88%;
    align-self: flex-end;
  }

  p.work__note {
    padding-inline: 0;
  }
}

@media (width < 426px) {
  .circle__stamp.how-work__stamp {
    top: -5rem;
  }

  .how-work__panel.display-sp .tabs__pane-bg {
    bottom: -24px;
    left: calc(-1.5rem - 56px);
  }

  .how-work__panel.display-sp .tabs__pane-media {
    max-width: 180px;
  }
}

/* ==========================================================================
   OPEN ROLES (role switch + independent 4-slide sliders per role)
   ========================================================================== */
.roles {
  position: relative;
  overflow: hidden;
}

.roles .section__container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  margin-block-end: 15rem;
}

.roles__note {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  max-width: 480px;
}

.roles__intro {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.roles__text {
  margin-block-start: 1.4rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.circle__stamp.roles__stamp {
  right: -2vw;
  top: 16%;
  opacity: 0.72;
}

@media (1800px < width) {
  .circle__stamp.roles__stamp {
    right: calc((100% - 1280px) / 2 - 8vw);
  }
}

@media (width < 1025px) {
  .roles .section__container {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-block-end: 8rem;
  }
}

/* --------------------------------------------------------------------------
   roles__list
   -------------------------------------------------------------------------- */
.roles__list {
  z-index: 1;
  margin-block-start: 10rem;
  max-width: 520px;
}

.roles__item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.3em 0.9em;
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 1.75em 1rem 2em;
  cursor: pointer;
  width: fit-content;
  transition: border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  position: relative;
}

.roles__item:nth-child(1) {
  margin-inline-start: 0;
}

.roles__item:nth-child(2) {
  margin-inline-start: 6rem;
  margin-block-start: 1.5rem;
}

.roles__item:nth-child(3) {
  margin-inline-start: 12rem;
  margin-block-start: 1.5rem;
}

.leader-dots {
  width: 3rem;
  height: 2px;
  padding-block-end: 24px;
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: left center;
  background-image: radial-gradient(circle, var(--color-teal) 1.4px, transparent 1.5px);
}

.roles__item:nth-child(2) .leader-dots {
  width: 1.8rem;
}

.roles__labels {
  display: flex;
  align-items: center;
  position: relative;
}

.roles__item-label {
  writing-mode: vertical-rl;
  letter-spacing: 0.15em;
  color: var(--color-teal-light);
  font-size: var(--size-18);
  letter-spacing: var(--tracking-wide);
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;

}

.roles__item-num {
  display: inline-block;
  color: var(--color-teal);
  font-size: var(--size-112);
  line-height: 1;
  text-box: trim-both cap alphabetic;
  font-weight: var(--font-weight-medium);
  background: none;
  border: none;
  padding: 0.1em 0.05em;
}

.roles__labels .arrow-down {
  position: absolute;
  transform: translate(-50%);
  bottom: -1rem;
  left: calc(50% + 0.46875vw);
  max-width: max(1vw, 1.375rem);
}

.roles__item-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  writing-mode: vertical-rl;
  font-size: var(--size-40);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
  color: var(--color-ink);
  max-width: 4.6em;
  line-height: 0.88;
}

.roles__item:nth-child(2) .roles__item-name {
  line-height: 0.72;
}

.roles__item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 4px;
}

.roles__item-arrow {
  grid-column: 2;
  margin-block-start: 0.2rem;
  font-size: 0.9rem;
  color: var(--color-teal);
  text-align: center;
}

.roles__item.is-active {
  border: 1px solid var(--color-line);
  box-shadow: 0 8px 22px rgba(21, 122, 128, 0.16);
}

.roles__item:hover {
  border: 1px solid var(--color-teal);
}

@media (width < 600px) {
  .circle__stamp.roles__stamp {
    right: -8vw;
    top: -16%;
  }

  .roles__list {
    margin-block-start: 6rem;
  }

  .roles__item-name {
    margin-inline-end: 0.4rem;
  }

  .roles__item:nth-child(2) {
    margin-inline-start: 2.2rem;
  }

  .roles__item:nth-child(3) {
    margin-inline-start: 4rem;
  }

  .roles__item-label {
    font-size: 0.75rem;
  }

  .roles__item-thumb {
    width: 42px;
    height: 42px;
  }
}

/* --------------------------------------------------------------------------
   role-slider component
   -------------------------------------------------------------------------- */
.role-slider {
  position: relative;
  z-index: 1;
  height: 100dvh;
  width: 100dvw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
}

.role-slider__switch {
  position: absolute;
  top: 2.5rem;
  left: 6vw;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.roles__item-label.role-slider__switch-label {
  color: var(--color-white);
}

.role-slider__switch-nums {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
}

.roles__item-num.role-slider__switch-btn {
  display: inline-block;
  color: rgba(47, 166, 163, 0.55);
  font-size: var(--size-48);
  font-weight: var(--font-weight-medium);
  background: none;
  border: none;
  padding: 0.1em 0.05em;
  transition: color 0.3s var(--ease),
    font-size 0.3s var(--ease);
}

.role-slider__switch-btn.is-active {
  color: var(--color-teal);
  font-size: var(--size-112);
}

.role-slider__switch-btn:hover {
  color: var(--color-teal);
}

.leader-dots.role-slider__switch-sep {
  width: 3rem;
}

.role-slider__header {
  position: absolute;
  top: 10rem;
  left: 6vw;
  z-index: 6;
  max-width: 520px;
  color: var(--color-white);
  pointer-events: none;
}

.role-slider__header .switch-flex {
  display: flex;
  flex-direction: column;
}

@media (width < 426px) {
  .role-slider__header .switch-flex {
    flex-direction: row;
    align-items: first baseline;
    gap: 1rem;
  }
}

.slider__title {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: 0.02em;
}

.slider__sub {
  margin-block-start: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

.slider__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.8rem;
}

.slider__tags li {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-wider);
  color: var(--color-tag-teal-text);
  background: var(--color-tag-teal-bg);
  border-radius: 8px;
  padding: 0.4em 0.4em 0.12em;
}

/* --------------------------------------------------------------------------
   slider stepper
   -------------------------------------------------------------------------- */
[data-slider-track] {
  touch-action: pan-y;
}

.role-slider__stepper {
  position: absolute;
  top: 50%;
  right: 6vw;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.role-slider__stepper-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease),
    transform 0.3s var(--ease);
  flex-shrink: 0;
}

/* 色が流れる帯 */
.role-slider__stepper-arrow.role-slider__stepper-arrow--next {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.role-slider__stepper-arrow--next::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(214, 202, 166, 0) 0%,
      rgba(214, 202, 166, 0.15) 20%,
      rgba(240, 205, 97, 0.9) 50%,
      rgba(214, 202, 166, 0.15) 80%,
      rgba(214, 202, 166, 0) 100%);
  background-size: 220% 100%;
  animation: nextArrowFlow 1.1s linear 0.8s 1;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

@keyframes nextArrowFlow {
  0% {
    background-position: 100% 50%;
    opacity: 0;
  }

  20% {
    opacity: .55;
  }

  50% {
    background-position: 0% 50%;
    opacity: 1;
  }

  100% {
    background-position: -100% 50%;
    opacity: 0;
  }
}

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

  .role-slider__stepper-arrow.role-slider__stepper-arrow--next,
  .role-slider__stepper-arrow.role-slider__stepper-arrow--next::before {
    animation: none;
  }
}

.role-slider__stepper-arrow:hover {
  background: var(--color-teal);
  transform: scale(1.08);
}

.role-slider__stepper-track {
  --stepper-gap: 0.35rem;
  display: flex;
  align-items: center;
  gap: var(--stepper-gap);
  justify-content: flex-end;
}

.role-slider__stepper-dot {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 min(4.5vw, 2.75rem);
  position: relative;
}

.role-slider__stepper-dot-shape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.35s var(--ease),
    height 0.35s var(--ease),
    background 0.35s var(--ease),
    padding 0.35s var(--ease);
}

.role-slider__stepper-dot-label {
  display: inline-block;
  position: absolute;
  width: 4.2rem;
  text-align: center;
  font-size: var(--size-small);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wider);
  line-height: 1;
  color: var(--color-white);
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.role-slider__stepper-dot:hover .role-slider__stepper-dot-shape {
  background: rgba(255, 255, 255, 0.75);
}

.role-slider__stepper-dot.is-active .role-slider__stepper-dot-shape {
  background: var(--color-teal);
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  padding: 0;
}

.role-slider__stepper-dot.is-active .role-slider__stepper-dot-label {
  opacity: 1;
}

/* Slider (job role detail) — shared by every role panel */
.slider {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slider__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: sliderHint 0.48s ease-out 0.5s 1;
}

@keyframes sliderHint {
  0% {
    transform: translateX(0);
  }

  22% {
    transform: translateX(-7px);
  }

  42% {
    transform: translateX(0);
  }

  62% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0);
  }
}

.slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  display: flex;
  align-items: stretch;
  color: var(--color-white);
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 300ms ease;
}

.slider__slide.is-active {
  opacity: 1;
}

.slider.is-no-motion .slider__track {
  transition: none;
}

.slider__media {
  content: "";
  position: absolute;
  z-index: 0;
  background-image: url(../images/role-0-0.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.slider__slide[data-role="0"][data-sub="1"] .slider__media {
  background-image: url(../images/role-0-1.jpg);
}

.slider__slide[data-role="0"][data-sub="2"] .slider__media {
  background-image: url(../images/role-0-2.jpg);
}

.slider__slide[data-role="0"][data-sub="3"] .slider__media {
  background-image: url(../images/role-0-3.jpg);
}

.slider__slide[data-role="1"][data-sub="0"] .slider__media {
  background-image: url(../images/role-1-0.jpg);
}

.slider__slide[data-role="1"][data-sub="1"] .slider__media {
  background-image: url(../images/role-1-1.jpg);
}

.slider__slide[data-role="1"][data-sub="2"] .slider__media {
  background-image: url(../images/role-1-2.jpg);
}

.slider__slide[data-role="1"][data-sub="3"] .slider__media {
  background-image: url(../images/role-1-0.jpg);
}

.slider__slide[data-role="2"][data-sub="0"] .slider__media {
  background-image: url(../images/role-2-0.jpg);
}

.slider__slide[data-role="2"][data-sub="1"] .slider__media {
  background-image: url(../images/role-2-1.jpg);
}

.slider__slide[data-role="2"][data-sub="2"] .slider__media {
  background-image: url(../images/role-2-2.jpg);
}

.slider__slide[data-role="2"][data-sub="3"] .slider__media {
  background-image: url(../images/role-2-3.jpg);
}

.slider__wm {
  position: absolute;
  right: -2vw;
  bottom: -2vw;
  z-index: 1;
  pointer-events: none;
}

.slider__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24rem 6vw 6rem;
  height: 100%;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.slider__content {
  width: min(100%, 720px);
}

.slider__lead {
  font-weight: var(--font-weight-bold);
  margin-block-end: 2.5rem;
}

.slider__text {
  margin-block-end: 1.5rem;
  line-height: 1.85;
}

.slider__text-shokurei {
  margin-block-start: 0.75rem;
  font-weight: 300;
}

.slider__text-shokurei span {
  color: var(--color-text-teal);
}

/* Steps (入社後の流れ) */
.slider__steps {
  margin-block-start: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-inline-start: 1.5rem;
  position: relative;
}

.slider__steps .dots-line.dots-line--left {
  height: 88%;
}

.slider__steps li {
  display: flex;
  gap: 1em;
  align-items: baseline;
}

.steps-num {
  flex-shrink: 0;
  letter-spacing: 0.05em;
  color: var(--color-text-teal);
}

.steps-num.slider__steps-num {
  width: 3.6em;
}

/* Daily Flow (一日の流れ) */
.slider__timeline {
  margin-block-start: 1.4rem;
  padding-inline-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.slider__content .dots-line.dots-line--left {
  top: 0.5rem;
  bottom: 1.5rem;
  left: 0;
}

.slider__timeline li {
  display: flex;
  gap: 1.2em;
  align-items: baseline;
  padding-block-end: 0.7rem;
}

.steps-num.slider__timeline-time {
  font-size: 1.05rem;
  width: 3.2em;
}

.slider__timeline-text {
  opacity: 0.92;
  margin-block-end: 0;

}

/* Voice (社員の声) */
.slider__voice {
  line-height: 2;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-teal);
}

.slider__voice-role {
  margin-block-start: 1.2rem;
  font-size: 0.78rem;
  opacity: 0.75;
}

@media (height < 900px) and (768px < width) {
  .role-slider {
    height: auto;
  }

  .slider__slide {
    height: 100dvh;
    min-height: 100dvh;
  }

  .slider__text {
    margin-block-end: 0.75rem;
  }
}

@media (height < 810px) and (768px < width < 1180px) {
  .role-slider__stepper {
    top: 10rem;
    right: unset;
    left: 6vw;
  }

  .role-slider__header {
    top: 14rem;
  }

  .slider__lead {
    font-size: var(--size-20);
  }

  .slider__text {
    font-size: var(--size-xs);
    line-height: 1.6;
  }

  .slider__tags li {
    width: fit-content;
    flex-direction: column;
  }
}

@media (width > 1440px) {
  .slider__content {
    width: fit-content;
  }
}

@media (width > 1701px) {

  .role-slider__header,
  .role-slide__stepper,
  .role-slider__switch {
    left: 20vw;
  }

  .slider__body {
    padding: 24rem 20vw 6rem;
    ;
  }
}

@media (width < 1025px) {
  .role-slider__header {
    top: 16rem;
  }

  .role-slider__stepper {
    top: 10rem;
    right: unset;
    left: 6vw;
  }

  .slider__wm {
    right: -3vw;
    bottom: -6vw;
  }

  img.slider__wm[alt="JOB ROLE"] {
    bottom: -3vw;
  }

  .slider__body {
    padding: 27rem 6vw 6vw;
  }

  .slider__lead {
    font-size: var(--size-24);
  }

  .slider__text {
    font-size: var(--size-xs);
    line-height: 1.6;
    margin-block-end: 0.75rem;
  }

  .slider__timeline li {
    padding-block-end: 0;
  }

  .slider__content {
    font-size: var(--size-small);
  }

  .slider__steps .dots-line.dots-line--left {
    height: calc(100% - 32px);
  }
}

@media (426px < width < 769px) {

  .role-slider,
  .slider,
  .slider__slide {
    min-height: 100dvh;
  }
}

@media (width < 769px) {
  .slider__steps .dots-line.dots-line--left {
    height: calc(100% - 48px);
  }


  .slider__slide[data-role="1"][data-sub="0"] .slider__media,
  .slider__slide[data-role="1"][data-sub="3"] .slider__media,
  .slider__slide[data-role="2"][data-sub="3"] .slider__media {
    background-position: center right 20%;
  }

  .slider__slide[data-role="0"][data-sub="2"] .slider__media {
    background-position: center right 40%;
  }

  .slider__slide[data-role="0"][data-sub="0"] .slider__media {
    background-position: center left 40%;
  }
}

@media (width < 600px) {
  .role-slider__header {
    top: 11.5rem;
  }

  .slider__tags li {
    padding: 0.3em 0.6em 0 0.6em;
  }

  .role-slider__stepper {
    top: 6.5rem;
    left: 6vw;
    transform: none;
    justify-content: center;
    min-height: 45px;
  }

  .role-slider__stepper-arrow,
  .role-slider__stepper-arrow--next::before {
    width: 18px;
    height: 18px;
  }

  .role-slider__stepper-track {
    --stepper-gap: 0;
  }

  .role-slider__stepper-dot {
    flex: 0 0 max(8vw, 2.24rem);
  }

  .role-slider__stepper-dot.is-active .role-slider__stepper-dot-shape {
    width: 2.8rem;
    height: 2.8rem;
    min-width: 2.8rem;
  }

  .role-slider__stepper-dot-label {
    width: 2.6rem;
    font-size: 0.875rem;
    padding-block-start: 2.4px;
  }

  .slider__body {
    width: 100%;
    padding: 21rem 6vw 5.5rem;
  }

  .slider__lead {
    margin-block-end: 1.5rem;
  }

  .slider__steps,
  .slider__timeline {
    gap: 0.35rem;
  }
}

@media (width < 431px) and (720px < height) {
  .role-slider {
    height: auto;
  }

  .slider__slide {
    max-height: 800px;
  }
}

@media (width < 426px) {
  .leader-dots.role-slider__switch-sep {
    width: 2.5rem;
  }

  .slider__body {
    padding: 18.5rem 18vw 1.5rem 6vw;
  }

  .slider__lead {
    font-size: var(--size-20);
  }
}

@media (width < 426px) and (660px < height) {
  .slider__body {
    padding: 20rem 18vw 1.5rem 6vw;
  }
}

/* ==========================================================================
   TEAM / SUPPORT
   ========================================================================== */
.team {
  position: relative;
  background: var(--color-bg);
}

.team__hero {
  position: relative;
  height: 56vw;
  max-height: 800px;
  min-height: 480px;
  margin: 0 calc(-1 * min(var(--gutter-pc), var(--gutter)));
  overflow: visible;
}

.team__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.team__media-img {
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.team .section__container {
  position: relative;
  height: 100%;
}

.circle__stamp.team__stamp {
  transform: translateY(-50%);
  animation: trans-slowRotate 48s linear infinite;
  top: 50%;
  right: 2vw;
  z-index: 1;
}

@keyframes trans-slowRotate {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(-360deg);
  }
}

.team__hero-copy {
  position: absolute;
  bottom: -15%;
  z-index: 2;
  color: var(--color-white);
  max-width: 460px;
}

.team__hero-copy .section-heading__subtext {
  color: var(--color-ink);
}

.team__handwrite {
  position: absolute;
  left: 84%;
  bottom: 11%;
  width: max(24vw, 320px);
  z-index: 2;
  pointer-events: none;
}

.team__text {
  position: relative;
  z-index: 1;
  margin-block-start: 2.2rem;
  max-width: 480px;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.team__cards--wrapper {
  display: flex;
  justify-content: center;
  margin: 15rem calc(-1 * min(var(--gutter-pc), var(--gutter))) 10rem;
  align-self: center;
  width: auto;
}

.team__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.team__card {
  background: var(--color-bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  font-family: var(--font-jp);
  width: 26%;
}

.team__card.card-spacing {
  width: 16%;
  background: none;
}

.team__card-icon {
  max-width: 24px;
}

.team__card-title {
  margin-block-start: 2rem;
  color: var(--color-teal);
}

.team__card-title br.display-switch {
  display: block;
}

.team__card-text {
  margin-block-start: 1.5rem;
  font-size: var(--size-small);
  color: var(--color-text);
}

@media (1800px < width) {
  .circle__stamp.team__stamp {
    right: calc((100% - 1280px) / 2 - 12vw);
  }
}

@media (width < 1440px) {
  .team__hero-copy {
    left: 6vw;
  }
}

@media (width < 1025px) {
  .team__hero-copy {
    left: calc(var(--gutter) + 6vw);
  }

  .team__card {
    width: 28%;
    padding: 2rem;
  }

  .team__card.card-spacing {
    width: 8%;
  }
}

@media (width < 800px) {
  .team__hero {
    height: auto;
    min-height: 0;
  }

  .team__hero::before {
    content: "";
    display: block;
    padding-block-start: 78%;
  }

  .circle__stamp.team__stamp {
    width: 36vw;
    right: -4vw;
  }

  .team__handwrite {
    width: max(200px, 34vw);
    bottom: 16%;
    left: unset;
    right: -10vw;
  }

  .team__hero-copy {
    left: 6vw;
    bottom: -5rem;
  }

  .team__cards {
    justify-content: center;
  }

  .team__card {
    width: 46%;
  }

  .team__card-title {
    margin-block-start: 1rem;
  }

  .team__card-title br.display-switch {
    display: none;
  }

  .team__card.card-spacing {
    display: none;
  }
}

@media (width < 700px) {
  .team__cards--wrapper {
    margin: 13rem 0 8rem;
  }

  .team__cards {
    flex-direction: column;
  }

  .team__card {
    width: 64%;
    min-width: 220px;
  }

  .team__card:nth-child(2n) {
    align-self: flex-end;
  }
}

@media (width < 426px) {
  .team__hero-copy {
    bottom: -6rem;
  }

  .team__handwrite {
    width: max(140px, 32vw);
    bottom: 32%;
  }

  .team__card {
    width: 78%;
  }

  .team__card-title br.display-switch {
    display: block;
  }

  .team__cards--wrapper {
    margin: 10rem 0 8rem;
  }
}

/* ==========================================================================
   SKILLS THAT STAY (radial diagram)
   ========================================================================== */
.skills {
  padding: 7rem min(var(--gutter-pc), var(--gutter)) 8rem;
  position: relative;
}

.skills.section__container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
}

.circle__stamp.skills__stamp {
  right: unset;
  left: -2vw;
  top: 0;
}

.skills .skills__intro {
  position: relative;
  left: 50%;
  max-width: 640px;
  z-index: 1;
}

.skills__wrapper {
  margin-block: 16rem 0;
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50% - 50vw);
  display: flex;
}

/* ---------- 左側:固定イラスト ---------- */
.skills__wrapper .left {
  width: 44%;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--color-teal-dark);
  color: var(--color-white);
  padding: 60px 40px;
}

/* 参照ロゴの実測比率(527x462 中の葉ごとの位置)を元に配置。
     コンテナ 240x220、幹の中心 x=120 */
.skills__wrapper .illus {
  width: 240px;
  height: 230px;
  position: relative;
  margin-bottom: 36px;
}

.skills__wrapper .stem {
  position: absolute;
  left: 120px;
  bottom: 0;
  width: 14px;
  height: 84%;
  background: var(--color-green);
  transform: translateX(-50%);
  z-index: 1;
}

/* 茎は下から伸びて出てくる見せ方(上側をマスクして隠す)
     マスクは葉より背面(z-index)に置き、葉自体は隠さない */
.skills__wrapper .stem-mask {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: var(--color-teal-dark);
  transition: height .6s ease;
  z-index: 2;
}

.skills__wrapper .illus.stage-1 .stem-mask {
  height: 165px;
}

.skills__wrapper .illus.stage-2 .stem-mask {
  height: 94px;
}

.skills__wrapper .illus.stage-3 .stem-mask {
  height: 43px;
}

.skills__wrapper .illus.stage-4 .stem-mask {
  height: 15px;
}

.skills__wrapper .leaf {
  position: absolute;
  background: var(--color-green);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .45s ease .6s, transform .45s ease .6s;
  z-index: 3;
}

.skills__wrapper .leaf.is-on {
  opacity: 1;
  transform: scale(1);
}

/* 左向き(右下の頂点で幹に接続) */
.skills__wrapper .leaf.bl,
.skills__wrapper .leaf.ml,
.skills__wrapper .leaf.top {
  border-radius: 0 100% 0 100%;
  transform-origin: right bottom;
}

/* 右向き(左下の頂点で幹に接続) */
.skills__wrapper .leaf.br,
.skills__wrapper .leaf.mr,
.skills__wrapper .leaf.accent {
  border-radius: 100% 0 100% 0;
  transform-origin: left bottom;
}

/* 下段の大きな葉(最初に出る、いちばん大きい) */
.skills__wrapper .leaf.bl {
  left: 2px;
  top: 104px;
  width: 118px;
  height: 61px;
}

.skills__wrapper .leaf.br {
  right: 0px;
  top: 104px;
  width: 121px;
  height: 61px;
}

/* 中段の葉 */
.skills__wrapper .leaf.ml {
  left: 42px;
  top: 44px;
  width: 78px;
  height: 50px;
}

.skills__wrapper .leaf.mr {
  right: 39px;
  top: 44px;
  width: 81px;
  height: 50px;
}

/* 頂点の大きめの葉 */
.skills__wrapper .leaf.top {
  left: 74px;
  top: 0px;
  width: 46px;
  height: 43px;
}

/* 頂点脇の小さな新芽 */
.skills__wrapper .leaf.accent {
  left: 124px;
  top: 18px;
  width: 19px;
  height: 26px;
  background: var(--color-green);
}

.skills__wrapper .left h1 {
  width: min(72%, 400px);
  max-width: 400px;
  position: absolute;
  z-index: 3;

}

.skills__wrapper .left .stage-label {
  font-size: var(--size-xs);
  opacity: .7;
  letter-spacing: .15em;
}

/* ---------- 右側:1画面=1項目でパチッと切り替わるスナップスクロール ---------- */
.skills__wrapper .right {
  width: 56%;
}

.skills__wrapper .item {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 min(6vw, 80px) 60px max(6vw, 90px);
  padding-top: 34vh;
  scroll-snap-align: start;
  position: relative;
}

.skills__wrapper .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/skill__img-01.jpg") center / cover no-repeat;
  opacity: .24;
  z-index: 0;
  pointer-events: none;
}

.skills__wrapper .item[data-index="2"]::before {
  background: url("../images/skill__img-02.jpg") center / cover no-repeat;
}

.skills__wrapper .item[data-index="3"]::before {
  background: url("../images/skill__img-03.jpg") center / cover no-repeat;
}

.skills__wrapper .item[data-index="4"]::before {
  background: url("../images/skill__img-04.jpg") center / cover no-repeat;
}

.skills__wrapper .item-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: .05em;
  margin-bottom: 18px;
  opacity: 0;
  transition: opacity .2s ease;
}

.skills__wrapper .item h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 26px;
  line-height: 1.6;
  opacity: 0;
  transition: opacity .2s ease;
}

.skills__wrapper item p {
  font-size: var(--size-body);
  line-height: 2;
  color: var(--color-ink);
  max-width: 40ch;
  opacity: 0;
  transition: opacity .2s ease;
}

.skills__wrapper .item.is-active .item-num,
.skills__wrapper .item.is-active h2,
.skills__wrapper .item.is-active p {
  opacity: 1;
}

@media (1800px < width) {
  .circle__stamp.skills__stamp {
    left: calc((100% - 1280px) / 2 - 8vw);
  }
}

@media (width < 840px) {
  .skills .skills__intro {
    left: unset;
    max-width: unset;
    width: fit-content;
    margin-left: auto;
  }

  .circle__stamp.skills__stamp {
    left: -5vw;
  }

  .skills__wrapper {
    margin-block: 10rem 0;
    flex-direction: column;
  }

  .skills__wrapper .left {
    width: 100%;
    height: fit-content;
    min-height: 44vh;
    min-height: 44dvh;
    padding: 4rem 1.5rem 1.5rem;
    z-index: 5;
  }

  .skills__wrapper .illus {
    transform: scale(.62);
    transform-origin: top center;
    margin-bottom: -72px;
  }

  .skills__wrapper .left h1 {
    top: 32%;
  }

  .skills__wrapper .cta__scroll-cue {
    margin-block: 2rem 0;
  }

  .skills__wrapper .left .stage-label {
    margin-top: 0;
  }

  .skills__wrapper .cta__scroll-icon {
    height: 40px;
  }

  .skills__wrapper .right {
    width: 100%;
  }

  .skills__wrapper .item[data-index="1"]::before {
    background-position: top;
  }

  .skills__wrapper .item {
    min-height: 56vh;
    min-height: 56dvh;
    padding: 0 12vw 10vh;
    padding-top: 10vh;
    scroll-snap-align: start;
    scroll-margin-top: 44vh;
    scroll-margin-top: 44dvh;
  }

  .skills__wrapper .item h2 {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .skills__wrapper .item p {
    font-size: 14px;
    line-height: 1.9;
  }
}

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

  .skills__wrapper .leaf,
  .skills__wrapper .stem-mask,
  .skills__wrapper .item-num,
  .skills__wrapper .item h2,
  .skills__wrapper .item p {
    transition: none;
  }
}


@media (width < 426px) {

  .skills__wrapper .item {
    padding-inline: 8vw;
  }
}


@media (height < 800px) {
  .skills__wrapper .left {
    gap: 0;
  }

  .skills__wrapper .illus {
    transform: scale(.48);
    margin-bottom: -108px;
  }

  .skills__wrapper .left h1 {
    width: max(240px, 32%);
  }

  .skills__wrapper .cta__scroll-cue {
    margin-block: 0.5rem;
  }

  .skills__wrapper .right {
    min-height: 56dvh;
  }
}


/* ==========================================================================
   TRUST FROM FARMERS
   ========================================================================== */
.trust {
  position: relative;
  padding: 7rem min(var(--gutter-pc), var(--gutter)) 8rem;
  overflow: hidden;
}

.trust::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 48%;
  background: linear-gradient(180deg, var(--gradient-brand-stops-transparent));
  z-index: 0;
  pointer-events: none;
}

.circle__stamp.trust__stamp {
  top: 3%;
}

.trust__intro {
  position: relative;
  max-width: 640px;
  z-index: 1;
}

.trust__text {
  margin-block-start: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.trust__cards {
  position: relative;
  z-index: 1;
  margin-block-start: 10rem;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.trust__card {
  position: relative;
  max-width: 600px;
  min-width: 520px;
  height: fit-content;
  list-style: none;
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(var(--gradient-brand-stops-transparent)) border-box;
  box-shadow: 0 12px 30px rgba(10, 50, 45, 0.08);
}

.trust__card:nth-child(2) {
  margin-block-start: 320px;
}

.trust__note {
  display: block;
}

.trust__summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  list-style: none;
  padding: 2.5rem 2.5rem 0;
  cursor: pointer;
}

.js-trust-note .trust__summary {
  pointer-events: none;
  cursor: default;
}

.trust__summary::-webkit-details-marker {
  content: "";
  display: none;
}

.trust__summary::marker {
  content: "";
}

.trust__summary-copy {
  position: relative;
  flex: 1;
  min-width: 0;
}

.trust__toggle-hint {
  display: none;
}

.trust__summary:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 4px;
}

.trust__card-label {
  position: absolute;
  z-index: 2;
  top: -2rem;
  left: -1rem;
  display: inline-block;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-soft);
  letter-spacing: 0.01em;
  padding: 0.5em 0.8em 0.5em 1.4em;
  transform-origin: left bottom;
  transform: rotate(-3deg);
  background-color: var(--color-bg-teal);
}

.trust__card-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 100%;
  background-color: var(--color-teal);
  transform-origin: 12px calc(100% - 6px);
}

.trust__card-title {
  font-weight: var(--font-weight-bold);
  margin-block: 1.5rem 2rem;
  line-height: 1.5;
  color: var(--color-teal);
}

.trust__card-text {
  margin-block-start: 1.2rem;
  padding: 0 2.5rem 4rem;
  color: var(--color-text-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trust__card .dots-line.dots-line--top {
  left: 1rem;
  top: -1rem;
  right: -1rem;
  height: 2px;
  width: auto;
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: left center;
}

.trust__card .dots-line.dots-line--right {
  top: calc(-1rem - 2px);
  right: -1rem;
}



@media (width >=1280px) {
  .trust__card {
    min-width: 600px;
  }
}

@media (width < 1100px) {
  .trust .section__container {
    position: relative;
  }

  .trust__cards {
    flex-direction: column;
    gap: 5rem;
  }

  .trust__card:nth-child(2) {
    margin-block-start: 0;
    align-self: end;
    margin-inline-end: 4vw;
  }

  .trust__summary {
    padding: 2.5rem 2rem 1rem;
  }

  .trust__card-title {
    margin-block: 0;
  }

  .trust__card-text {
    padding: 1.2rem 2rem 2rem;
  }
}

@media (width < 769px) {
  .trust__card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .trust__card:nth-child(2) {
    align-self: unset;
    margin-inline-end: 0;
  }
}

@media (width <=426px) {
  .trust__summary {
    padding: 2rem 1rem 1rem 1.5rem;
  }

  .js-trust-note>.trust__summary {
    pointer-events: auto;
    cursor: pointer;
  }

  .trust__toggle-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.35rem;
  }

  .trust__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .trust__note[open] .arrow-down {
    transform: rotate(180deg);
  }

  @media (hover: hover) {
    .trust__summary:hover .arrow-down {
      transform: translateY(2px);
    }

    .trust__note[open] .trust__summary:hover .arrow-down {
      transform: rotate(180deg) translateY(-2px);
    }
  }

  .trust__card-label {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   MESSAGE (horizontal scroll, JS-driven)
   ========================================================================== */
.message {
  position: relative;
  background: var(--color-bg);
}

.message__scroll {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

/* PC */
@media (width < 1025px) {
  .message__scroll {
    height: max(100svh, 560px);
    /* タブレット */
  }
}

@media (width < 769px) {
  .message__scroll {
    height: max(100svh, 480px);
    /* SP */
  }
}

.message__track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  will-change: transform;
}

.message__panel {
  position: relative;
  flex: 0 0 auto;
  width: min(88vw, 520px);
  height: auto;
  min-height: 100%;
  padding: 3rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.message__panel--intro {
  width: fit-content;
  padding: 0;
  flex-direction: row;
  align-items: stretch;
}

.message__photo {
  position: relative;
  flex: 0 0 46%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: max-content;
}

.message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.message__role {
  position: absolute;
  left: 20%;
  bottom: 50%;
  z-index: 1;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.message__intro-body {
  flex: 1;
  padding: 3rem 2.4rem;
  display: flex;
  flex-direction: column;
  color: var(--color-ink);
  z-index: 2;
}

.message .accent-leaf {
  margin-block-end: 0.75rem;
  max-width: 20px;
}

.message__title {
  position: relative;
  margin-block-start: 1rem;
  display: inline-block;
  width: max-content;
  padding-inline-end: 54px;
  color: var(--color-green-corporate);
  line-height: 1.5;
  z-index: 1;
  top: 30%;
}

.message__panel-title {
  color: var(--color-green-corporate);
  position: relative;
  margin-block-end: 56px;
}

.message__title::before,
.message__panel-title::before {
  content: "MESSAGE";
  position: absolute;
  left: -0.4em;
  top: 1.5rem;
  transform: translate(-64%, -50%);
  font-size: var(--size-112);
  font-weight: 300;
  letter-spacing: var(--tracking-normal);
  background: linear-gradient(90deg, var(--color-green-corporate) 0%, #4cac60 48%, #e5f6ed 96%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.message__panel-title::before {
  color: var(--color-bg-teal);
  background: unset;
  -webkit-background-clip: unset;
  background-clip: unset;
  opacity: 0.48;
  transform: translate(0, -25%);
  top: 0;
  left: 0;
}

.message__panel--01 .message__panel-title::before {
  content: "PHILOSOPHY";
  top: 56%;
}

.message__panel--02 .message__panel-title::before {
  content: "WORK";
  top: -40%;
}

.message__panel--03 .message__panel-title::before {
  content: "PROPOSAL";
  top: 72%;
}

.message__panel--04 .message__panel-title::before {
  content: "TRUST";
  top: -40%;
}

.message__panel-textbox p {
  margin-block-end: 1.5em;
}

.message__panel-photo {
  width: 100%;
  height: 100%;
  background: #cfd6d2;
  overflow: hidden;
}

.message__panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.message__panel-photo--wide img {
  object-position: center 65%;
}

.message__panel.message__panel-stack {
  padding: 0;
  flex-direction: column;
  justify-content: flex-start;
  width: min(60%, 720px);
  min-width: 720px;
}

.message__stack-photo {
  width: 100%;
  flex: 0 0 46%;
  overflow: hidden;
}

.message__stack-photo img {
  width: 100%;
  max-width: 560px;
  height: fit-content;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}

.message__stack-photo--small {
  display: flex;
  flex: 0 0 32%;
  margin-left: -56%;
  align-self: flex-start;
  width: fit-content;
}

.message__stack-photo img+div.message__panel-textbox {
  margin-inline: 40px;
}

.message__stack-body {
  flex: 1;
  padding: 2.6rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* panel別 */
/* panel 01 */
.message__panel--01 .message__panel-title span {
  display: inline-flex;
  text-indent: -0.75rem;
}

/* panel 02 */
.message__panel.message__panel-stack.message__panel--02 {
  justify-content: flex-start;
  margin-block-start: 120px;
}

.message__panel-stack.message__panel--02 .message__stack-photo {
  flex: unset;
}

.message__panel-stack.message__panel--02 .message__stack-body {
  justify-content: flex-start;
  flex: unset;
  padding: 5rem 10rem;
  width: max-content;
}

/* panel 03 */
.message__panel.message__panel-stack.message__panel--03 {
  width: max(72%, 720px);
  max-width: 960px;
}

.message__panel-stack.message__panel--03 .message__stack-body {
  flex-direction: row;
  justify-content: flex-start;
  padding: 8rem 0;
}

.message__panel-stack.message__panel--03 .message__panel-title {
  margin-block-end: 0;
  flex: 0 0 50%;
  height: fit-content;
}

.message__panel-stack.message__panel--03 .message__stack-photo img {
  max-width: 960px;
  min-width: 720px;
}

/* panel 04 */
.message__panel.message__panel-stack.message__panel--04 {
  margin-inline-start: 10rem;
  min-width: 560px;
  width: min(56%, 640px);
}

.message__panel-stack.message__panel--04 .message__stack-photo {
  flex: unset;
}

.message__panel-stack.message__panel--04 .message__stack-photo img {
  max-width: 480px;
}

.message__panel-stack.message__panel--04 .message__stack-body {
  justify-content: flex-start;
  flex: unset;
  padding: 5rem 10rem;
  width: max-content;
}

/* closing--a */
.message__panel-closing--a {
  width: min(88vw, 800px);
  color: var(--color-ink);
  border-right: none;
}

.message__closing-a-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.message__closing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message__closing-text {
  position: relative;
  z-index: 1;
  margin: 0 3rem 1rem 0;
  font-size: var(--size-20);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-wide);
  line-height: 2.2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: fit-content;
  align-self: end;
}

.message__closing-text p {
  width: fit-content;
}

/* closing--b */
.message__panel-closing--b {
  width: 100%;
  min-width: 0;
  padding: 0;
  flex-direction: row;
  justify-content: flex-start;
}

.message__closing-media.message__closing-b-media {
  display: flex;
  flex: 0 0 auto;
}

.message__panel-closing--b .message__closing-text {
  background: linear-gradient(180deg, #1d2b2b 0%, #124022 60%, #005f13 100%);
  color: var(--color-white);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 10rem 15rem 10rem 8rem;
  margin: 0;
  justify-content: center;
  flex: 0 0 auto;
}

.has-ggrain-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/grain.webp");
  background-repeat: repeat;
  background-size: 400px 400px;
  pointer-events: none;
  z-index: 1;
}

.message__closing-text.has-bg--grain>* {
  position: relative;
  z-index: 2;
}

[data-hscroll] {
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: contain;
}

@media (width > 1970px) {
  .message__panel-closing--b .message__closing-text {
    flex: 0 0 100%;
  }
}

@media (height > 956px) {
  .message__panel-closing--b {
    min-width: 100vw;
  }
}

@media (height < 880px) {
  .message__title::before {
    transform: unset;
    top: -2.75rem;
    left: -2rem;
    background: linear-gradient(165deg, var(--color-green-corporate) 0%, #4cac60 20%, #e5f6ed 64%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 5rem;
  }

  .message__panel-title::before {
    font-size: 5rem;
  }

  .message__panel--01 .message__stack-photo--small {
    margin-left: -24%;
  }

  .message__panel--01 .message__panel-title::before {
    top: 48%;
  }

  .message__panel--02 .message__panel-title::before,
  .message__panel--04 .message__panel-title::before {
    top: -24%;
  }

  .message__panel--03 .message__panel-title::before {
    top: 56%;
  }

  .message__stack-photo img,
  .message__panel-stack.message__panel--04 .message__stack-photo img {
    max-width: 320px;
  }

}

@media (width < 600px) {
  .message__panel--intro {
    justify-content: flex-start;
    width: 116%;
    padding-inline: 6vw 16%;
  }

  .message__panel.message__panel--intro .message__photo {
    flex: 100%;
    padding: 0 0 0 5rem;
  }

  .message__role {
    left: 6rem;
    top: 48%;
  }

  .message__intro-body {
    position: absolute;
    top: 34%;
  }

  .message__intro-body .message__title {
    padding-inline: 2.5rem;
  }

  .message__title::before {
    transform: unset;
    top: -2.75rem;
    left: -2rem;
    background: linear-gradient(165deg, var(--color-green-corporate) 0%, #4cac60 20%, #e5f6ed 64%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 5rem;
  }

  .message__panel-title::before {
    font-size: 5rem;
  }

  .message__panel--01 .message__stack-photo--small {
    margin-left: -24%;
  }

  .message__panel--01 .message__panel-title::before {
    top: 48%;
  }

  .message__panel--02 .message__panel-title::before,
  .message__panel--04 .message__panel-title::before {
    top: -24%;
  }

  .message__panel--03 .message__panel-title::before {
    top: 56%;
  }

  .message__stack-photo img,
  .message__panel-stack.message__panel--04 .message__stack-photo img {
    max-width: 320px;
  }

  .message__panel-closing--a {
    width: max(100vw, 375px);
    padding: 3rem 1rem 3rem 2rem;
  }

  .message__closing-text {
    margin: 0;
  }
}

@media (height < 880px) {
  .message__intro-body {
    min-height: 100dvh;
    top: max(40dvh, 240px);
  }
}

@media (height < 648px) {
  .message__panel.message__panel-stack.message__panel--02 {
    min-height: 100dvh;
    margin-block-start: auto;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  z-index: 4;
  background: var(--color-teal-deep);
  color: var(--color-white);
  padding: 3rem min(var(--gutter-pc), var(--gutter)) 0.5rem;
}

.footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin: -64px auto 64px;
  max-width: 1600px;
}

.footer__inner--container {
  display: flex;
  flex-direction: column;
}

.footer__innerbox {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.footer .gnav__group {
  display: flex;
  gap: 2.5rem;
}

.footer__company {
  font-weight: 500;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  max-width: max(12vw, 220px);
  margin-block-end: 3rem;
}

.footer .logo-mark {
  display: inline-flex;
  margin-block-end: 1.5rem;
}

.company-info__inner {
  display: flex;
  gap: 1.5em;
}

.company-info .column {
  display: flex;
  flex-direction: column;
  position: relative;
}

.company-info__hours {
  margin-inline-start: -2px;
}

.company-info__link--en {
  display: inline-flex;
  transition: var(--ease);
  margin-block-start: 4px;
}

.company-info__link--en svg {
  width: 14px;
  transition: var(--ease);
  opacity: 0.8;
}

.company-info__link--en:hover,
.company-info__link--en:focus,
.company-info__link--en:active {
  transition: var(--ease);
  color: var(--color-text-teal);
}

.company-info__link--en.company-info__map--link:hover svg,
.company-info__link--en.company-info__map--link:focus svg,
.company-info__link--en.company-info__map--link:active svg {
  transition: var(--ease);
  opacity: 1 !important;
}

.company-info__link--en img {
  margin-inline-start: 0.25em;
  min-width: 14px;
  max-width: 15px;
  padding-block-end: 4px;
  transition: var(--ease);
}

.company-info__link--en:hover img,
.company-info__link--en:focus img,
.company-info__link--en:active img {
  margin-inline-start: 0.5em;
  transition: var(--ease);
}

.footer__cta {
  position: relative;
  margin-block-start: clamp(-54px, -3vw, -48px);
  max-width: 640px;
  margin-block-end: 2.5rem;
}

.footer__cta-title {
  position: relative;
  display: inline-block;
}

.footer__cta-img {
  display: block;
}

.footer__cta-lead {
  margin: 1.4rem 0;
  font-size: var(--size-18);
}

.cta__scroll-dot {
  opacity: 0.35;
  animation: ctaScrollDotPulse 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.12s);
  /* ドットごとに時間差 */
}

@keyframes ctaScrollDotPulse {

  0%,
  100% {
    opacity: 0.35;
  }

  30% {
    opacity: 1;
  }
}

.cta__scroll-arrow--top {
  animation-delay: 0s;
}

.cta__scroll-arrow--bottom {
  animation-delay: 0.55s;
}

@keyframes ctaScrollArrowNudge {

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

  70% {
    transform: translateY(3px);
  }
}

.footer__cta-entry {
  margin-block-start: 1.8rem;
}

.footer .footer__col-label {
  min-width: 56.34px;
}

.footer__col-label {
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__col-list .gnav__item {
  border-bottom: none;
  padding-block-end: 0;
}

.footer__col-list a {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.footer__col-list a>svg {
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0.8;
  margin-inline-start: 0.2rem;
}

.footer__col-list a:hover {
  opacity: 1;
}

.footer__nav {
  display: flex;
  gap: 3rem;
  position: static;
  background: none;
  transform: unset;
  transition: unset;
}

.footer__top {
  margin-block-start: 1.8rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer__top:hover {
  opacity: 1;
}

.footer__copyright {
  margin-block-start: 3rem;
  font-size: var(--size-caption);
  letter-spacing: var(--tracking-wide);
  opacity: 0.9;
  text-align: center;
}

@media (width < 1025px) {
  .footer__cta {
    margin-block-start: clamp(-48px, -5vw, -32px);
  }

  .footer__inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 5rem;
  }

  .footer__nav .dot-line-vertical-wrap {
    display: none;
  }
}

@media (799px < width < 1025px) {
  .footer__company {
    position: absolute;
    right: 3rem;
    bottom: 1.5rem;
  }
}

@media (width < 800px) {
  .gnav__group--f01 .footer__col-list.gnav__list li:nth-child(-n + 7) {
    display: none;
  }

  .footer__col-list .footer__top {
    margin-block-start: 0;
  }

  .footer__logo {
    max-width: 148px;
    margin-block-end: -1.5rem;
  }

  .footer .gnav__group {
    margin-block-end: 0;
    gap: 2rem;
  }

  .footer__company {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-end;
  }
}

@media (width < 500px) {
  .footer__cta {
    margin-block: -1rem 1.5rem;
  }

  .footer__cta-lead {
    margin: 2rem 0;
  }

  .gnav.footer__nav {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (width < 461px) {
  .footer__company {
    flex-direction: column;
    align-items: flex-start;
  }

  .gnav__group--f02 {
    align-items: center;
  }

  .gnav__group--f02 ul>li.display-sp>a>span {
    display: inline-flex;
    padding-block-start: 3px;
    line-height: 0.8;
  }
}