/* =========================================================
   ORTHO VENTUS — FV (Header + Hero)
   参考: Figma「無題」(R5dZLPNROFoadI4QPBU40Y) を雛形に
   ========================================================= */

:root {
  --green: #2e9e5b;
  --green-dark: #27884d;
  --blue: #2c7fc0;
  --blue-dark: #24699f;
  --ink: #1d2b32;
  --white: #ffffff;
  --jp: "游ゴシック体", "Yu Gothic Medium", "YuGothic", "Hiragino Sans",
        "Noto Sans JP", sans-serif;
  --en: "Fahkwang", "Noto Sans JP", sans-serif;
  --gutter: 50px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--jp);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: background .35s ease, box-shadow .35s ease, color .3s ease;
}
.header.is-scrolled {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 46px var(--gutter) 20px;
  transition: padding .35s ease;
}
.header.is-scrolled .header__inner { padding-top: 15px; padding-bottom: 15px; }

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__logo-img {
  height: 38px;
  width: auto;
  transition: height .35s ease;
}
.header__logo-img--white { filter: drop-shadow(0 1px 5px rgba(0,0,0,.4)); }
.header__logo-img--color { display: none; }
.header.is-scrolled .header__logo-img--white { display: none; }
.header.is-scrolled .header__logo-img--color { display: block; }
.header.is-scrolled .header__logo-img { height: 32px; }
.header.is-scrolled .header__burger span { background: var(--ink); }
.header__burger.is-open span { background: #fff !important; }

/* Lang toggle */


/* Global nav */
.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 34px; }
.gnav__item > a:not(.header__cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 6px 0;
  white-space: nowrap;
}
.gnav__item > a:not(.header__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.gnav__item > a:not(.header__cta):hover::after { transform: scaleX(1); }

/* Dropdown (会社情報) */
.gnav__item--has-child { position: relative; }
.gnav__caret {
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s;
}
.gnav__item--has-child:hover .gnav__caret,
.gnav__item--has-child:focus-within .gnav__caret { transform: translateY(0) rotate(225deg); }

.gnav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 184px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 60;
}
.gnav__sub::before {            /* hover bridge */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -14px;
  height: 14px;
}
.gnav__item--has-child:hover .gnav__sub,
.gnav__item--has-child:focus-within .gnav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(6px);
}
.gnav__sub a {
  display: block;
  padding: 11px 24px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.gnav__sub a:hover { background: #eef6f0; color: var(--green); }

/* Lang toggle (nav item) */

/* CTA button (nav item) */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.3);
  color: #fff;
  border: 1px solid var(--green);
  font-size: 14px;
  letter-spacing: .08em;
  padding: 12px 22px;
  border-radius: 4px;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.header__cta::after {            /* 矢印（右） */
  content: "";
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.header__cta--contact { background: rgba(255,255,255,.9); color: var(--green); border-color: var(--green); }
.header__cta--recruit { background: transparent; border-color: #fff; box-shadow: none; }
.header__cta:hover { transform: translateY(-1px); }
.header__cta--contact:hover { background: var(--green); color: #fff; border-color: var(--green); }
.header__cta--recruit:hover { background: var(--blue);  border-color: var(--blue); }
/* 採用情報とお問合せを近づける */
.gnav__item--cta + .gnav__item--cta { margin-left: -18px; }
/* スクロール後：塗りボタン */
.header.is-scrolled .header__cta { color: #fff; }
.header.is-scrolled .header__cta--contact { background: var(--green); border-color: var(--green); }
.header.is-scrolled .header__cta--recruit { background: var(--blue);  border-color: var(--blue); }

/* Hamburger */
.header__burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 0 auto;
  transition: transform .3s, opacity .3s;
}

/* =========================================================
   FV (HERO)
   ========================================================= */
.fv { padding: 10px; }

.fv__card {
  position: relative;
  width: 100%;
  height: calc(100svh - 20px);
  min-height: 600px;
  max-height: 860px;
  border-radius: 16px;
  overflow: hidden;
  /* 動画未配置時のフォールバック背景 */
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(46,158,91,.32), transparent 55%),
    linear-gradient(120deg, #14241d 0%, #1d3329 45%, #27463a 100%);
}

/* Background media */
.fv__media { position: absolute; inset: 0; }
.fv__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fv__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,18,23,.45) 0%, rgba(8,18,23,0) 20%),
    linear-gradient(90deg, rgba(8,18,23,.55) 0%, rgba(8,18,23,.30) 45%, rgba(8,18,23,.12) 100%),
    linear-gradient(0deg, rgba(8,18,23,.45) 0%, rgba(8,18,23,0) 35%);
}
/* あみあみ：ハーフトーンのドットメッシュ（動画の上に全面）
   暗ドット＋微光ドットを半ピッチずらして重ね、暗部でも視認できるように */

/* Animated wave mask (bottom) */
@keyframes waveL { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes waveR { from { transform: translateX(-50%); } to { transform: translateX(0);    } }


/* Copy block */
.fv__content {
  position: absolute;
  left: clamp(24px, 8.3vw, 122px);
  right: clamp(24px, 8.3vw, 122px);
  bottom: clamp(48px, 9vh, 84px);
  color: #fff;
  max-width: 1210px;
}
/* fv4：コピーを上下左右中央に配置 */

/* fv4：背景を2層に（後ろ=24867／前に透過した89934を重ねる） */



/* fv4：見出しフォントを Zen Kaku Gothic New（参照FV案に合わせる） */



.fv__heading { font-weight: 500; line-height: 1.25; letter-spacing: .04em; }
.fv__heading-main {
  display: block;
  font-size: clamp(30px, 4.4vw, 54px);
}
.fv__heading-sub {
  display: block;
  margin-top: .7em;
  font-size: clamp(17px, 2.1vw, 27px);
  font-weight: 400;
  line-height: 1.75;
}

/* Scroll indicator (bottom-left) */
.fv__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--green);
}
.fv__scroll-label {
  font-family: var(--en);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .25em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #fff;
}
.fv__scroll-line {
  position: relative;
  width: 1px; height: 58px;
  background: rgba(255,255,255,.5);
  overflow: visible;
}
.fv__scroll-dot {
  position: absolute;
  left: 50%; top: 0;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 2px;
  background: var(--green);
  animation: scrollDot 2s cubic-bezier(.6,0,.3,1) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-4px); opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}

/* Vertical copyright (right) */
.fv__copy {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--en);
  font-weight: 200;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .gnav__list { gap: 22px; }
  .gnav__item > a:not(.header__cta) { font-size: 14px; }
}

@media (max-width: 980px) {
  .header__inner { padding: 22px var(--gutter); gap: 16px; }

  /* タブレット以下はリードを折り返し */

  /* nav → drawer */
  .gnav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: rgba(18,33,26,.97);
    color: #fff;                 /* ドロワー内は常にFVデザイン（白文字）に固定 */
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 96px 32px 40px;
    margin: 0;
    overflow-y: auto;
  }
  .header.is-scrolled .gnav { color: #fff; }   /* スクロール後もドロワーは白文字のまま */
  .gnav.is-open { transform: translateX(0); }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__item { width: 100%; }
  .gnav__item > a:not(.header__cta) { display: block; padding: 16px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }

  /* 会社情報ドロップダウン → 常時展開 */
  .gnav__caret { display: none; }
  .gnav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    background: none;
    box-shadow: none;
    padding: 4px 0 8px 16px;
  }
  .gnav__sub::before { display: none; }
  .gnav__sub a { padding: 12px 0; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.08); }
  .gnav__sub a:hover { background: none; color: var(--green); }

  /* 言語切替・CTA */
  .gnav__item--cta { margin-top: 14px; }
  .gnav__item--cta + .gnav__item--cta { margin-left: 0; }  /* PC用の重ね(-18px)を解除＝上下で左右を揃える */
  /* ドロワー内のCTAは常にスクロール後の塗りデザインに固定 */
  .header__cta { width: 100%; justify-content: center; padding: 15px; color: #fff; }
  .header__cta--recruit,
  .header.is-scrolled .header__cta--recruit { background: var(--blue);  border-color: var(--blue); }
  .header__cta--contact,
  .header.is-scrolled .header__cta--contact { background: var(--green); border-color: var(--green); }

  .header__burger { display: flex; z-index: 110; }
  .header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__burger.is-open span:nth-child(2) { opacity: 0; }
  .header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .fv__card { max-height: none; height: calc(100svh - 20px); }
  .fv__content { bottom: 56px; left: 20px; right: 58px; } /* 左に寄せ＋右の縦SCROLLと重ならない幅を確保 */
  .fv__heading-main { font-size: 30px; }      /* 確保した幅で自然に改行させる */
  .fv__copy { display: none; }
  .fv__scroll { left: auto; right: 24px; bottom: 0; }
  .header__logo-img, .header.is-scrolled .header__logo-img { height: 30px; }
}

/* =========================================================
   COMMON (sections)
   ========================================================= */
:root { --serif: "Noto Serif JP", serif; }


.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head__en {
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ink);
}
.sec-head__jp {
  margin-top: 22px;
  font-size: clamp(17px, 2.1vw, 26px);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--green);
}
.sec-head__text {
  margin-top: 26px;
  max-width: 760px;
  font-size: 15px;
  line-height: 2.1;
  color: #46514b;
}


/* Decorations */

/* =========================================================
   NEWS
   ========================================================= */
.news { position: relative; padding: clamp(72px,9vw,118px) 0 clamp(64px,7vw,90px); overflow: hidden; }
.news__container { position: relative; z-index: 1; width: min(1180px, 100% - 48px); margin-inline: auto; }

/* 背景の重なり合う大きな円（淡いグリーン） */
.news-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.news-deco span {
  position: absolute;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(46,158,91,.10);
  background: radial-gradient(circle at 50% 50%, rgba(46,158,91,.05), rgba(46,158,91,.02) 60%, transparent 72%);
  animation: newsCircle 16s ease-in-out infinite;
  will-change: transform;
}
.news-deco span:nth-child(1) { width: 760px; height: 760px; right: -180px; top: -260px;  animation-duration: 19s; animation-delay: 0s; }
.news-deco span:nth-child(2) { width: 560px; height: 560px; right: -60px;  top: -120px;  animation-duration: 22s; animation-delay: -4s; }
.news-deco span:nth-child(3) { width: 380px; height: 380px; right: 60px;   top: -40px;   animation-duration: 17s; animation-delay: -8s; }
.news-deco span:nth-child(4) { width: 640px; height: 640px; left: -240px;  bottom: -320px; animation-duration: 24s; animation-delay: -2s; }
.news-deco span:nth-child(5) { width: 420px; height: 420px; left: -120px;  bottom: -220px; animation-duration: 20s; animation-delay: -6s; }
.news-deco span:nth-child(6) { width: 280px; height: 280px; left: 38%;     top: 30%;     animation-duration: 18s; animation-delay: -10s; }
@keyframes newsCircle {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(14px, -18px); }
}
@media (prefers-reduced-motion: reduce) { .news-deco span { animation: none; } }
.nlist { border-top: 1px solid #e7e9e7; }
.nitem {
  display: grid;
  grid-template-columns: 130px 104px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: 26px 8px;
  border-bottom: 1px solid #e7e9e7;
  transition: background-color .2s ease;
}
.nitem:hover { background: #f6faf7; }
.nitem:hover .nitem__title { color: var(--green); }
.nitem:hover .nitem__arrow { color: var(--green); transform: translateX(4px); }
.nitem__meta { display: contents; }
.nitem__date {
  font-family: var(--en);
  font-size: 14px;
  color: #8a958f;
  letter-spacing: .05em;
  font-weight: 600;
  white-space: nowrap;
}
.nitem__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;          /* お知らせ／新製品 等で横幅を統一 */
  padding: 6px 12px;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}
.nitem__cat--new { background: #1f7d49; }
.nitem__title {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .02em;
  transition: color .2s ease;
}
.nitem__arrow {
  justify-self: end;
  font-family: var(--en);
  font-size: 15px;
  color: #9aa49d;
  transition: transform .2s ease, color .2s ease;
}


/* =========================================================
   PRODUCT
   ========================================================= */
.product { position: relative; padding: clamp(80px,10vw,140px) 0; background: linear-gradient(180deg, #ffffff 0%, #f3f8f4 100%); overflow: hidden; }
@keyframes decoWave {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(2.4%, -1.4%) scale(1.03); }
}

.product__inner { position: relative; z-index: 1; width: min(1180px, 100% - 48px); margin-inline: auto; }




/* セクション見出し右下の「一覧を見る」（products / company / news 共通） */
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.sec-head--split .sec-head__group { min-width: 0; }
.sec-more {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .25s;
}
.sec-more__top { display: inline-flex; align-items: center; gap: 10px; }
.sec-more__icon {
  width: 15px; height: 15px;
  flex-shrink: 0;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1.6px);
  background-size: 5px 5px;
}
.sec-more__line { position: relative; height: 1px; background: rgba(20,40,30,.2); }
.sec-more__dot {
  position: absolute;
  top: 50%; left: 0;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 2px;
  background: var(--green);
  animation: moreDotX 2.2s cubic-bezier(.6,0,.3,1) infinite;
}
@keyframes moreDotX {
  0%   { left: 0; opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sec-more__dot { animation: none; left: 42%; } }
.sec-more:hover { color: var(--green); }
/* 暗い背景（company）用 */
.sec-more--light { color: #eaf6ee; }
.sec-more--light .sec-more__line { background: rgba(255,255,255,.3); }
.sec-more--light .sec-more__dot { background: #7dd1a0; }
.sec-more--light:hover { color: #fff; }
@media (max-width: 700px) {
  /* SP：company / news は「一覧を見る」を見出し（JP）と同列・右に */
  .sec-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; }
  /* products は説明文が長いので、従来どおり説明文の下に配置し右揃えに */
  .product .sec-head--split { flex-direction: column; align-items: stretch; gap: 16px; }
  .product .sec-more { align-self: flex-end; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { position: relative; padding: clamp(80px,10vw,140px) 0; overflow: hidden; }


/* =========================================================
   PHILOSOPHY
   ========================================================= */


/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #15362a; color: rgba(255,255,255,.82); }
.footer__inner {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: clamp(24px,3vw,44px);
  padding: clamp(56px,7vw,88px) 0 0;
  align-items: flex-start;
}
.footer__brand { flex: 0 0 clamp(200px, 22vw, 260px); }
.footer__logo { height: 38px; width: auto; margin-bottom: 18px; display: block; }
.footer__company { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: .06em; text-align: center; }
.footer__sns { display: inline-flex; margin-top: 16px; opacity: .9; transition: opacity .2s, transform .2s; }
.footer__sns:hover { opacity: 1; transform: translateY(-2px); }
.footer__sns img { height: 34px; width: auto; display: block; }
.footer__col { flex: 0 0 auto; }
.footer__address { min-width: 230px; }
.footer__head {
  font-family: var(--en);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  margin-bottom: 26px;
}
.footer__addr { font-size: 13px; line-height: 2; letter-spacing: .04em; color: rgba(255,255,255,.78); }
.footer__map { display: flex; gap: clamp(40px,4vw,60px); }
.footer__map ul { flex: 0 0 auto; min-width: 116px; display: flex; flex-direction: column; gap: 16px; }
.footer__map a { font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .04em; transition: color .2s; }
.footer__map a:hover { color: #6fd29a; }
.footer__bottom {
  width: min(1180px, 100% - 48px);
  margin: clamp(48px,6vw,68px) auto 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .04em; transition: color .2s; }
.footer__legal a:hover { color: #6fd29a; }
.footer__copy {
  margin-left: auto;
  text-align: right;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}

/* =========================================================
   RESPONSIVE (sections)
   ========================================================= */
@media (max-width: 880px) {
  .nitem { grid-template-columns: 108px 92px 1fr auto; gap: 16px; }
  .sec-more { justify-self: start; }
  .footer__inner { flex-direction: column; gap: 44px; }
  .footer__brand { flex: none; }
  .footer__bottom { flex-wrap: wrap; gap: 12px 24px; }
  .footer__copy { margin-left: 0; text-align: left; }
}

@media (max-width: 560px) {
/* SPはcompanyカードと同じ横長サイズに揃える */
  .nitem {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px; row-gap: 10px;
    padding: 22px 4px;
  }
  .nitem__meta { display: flex; align-items: center; gap: 10px; grid-column: 1; grid-row: 1; }
  .nitem__cat { padding: 4px 12px; font-size: 11px; }
  .nitem__title { grid-column: 1; grid-row: 2; white-space: normal; }
  .nitem__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  /* フッター ポリシー：フォント縮小＋2行（プラポ・クッキー / 透明性） */
  .footer__legal { flex-wrap: wrap; gap: 8px 16px; }
  .footer__legal a { font-size: 11px; }
  .footer__legal a:last-child { flex-basis: 100%; }
}

/* =========================================================
   INTRO（私たちについて）
   ========================================================= */
.intro { position: relative; padding: clamp(72px,9vw,128px) 0 clamp(112px,13vw,170px); overflow: hidden; }
.intro__inner {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(36px,6vw,96px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.intro__en { font-family: var(--en); font-weight: 300; font-size: clamp(40px,5vw,60px); line-height: 1; letter-spacing: .04em; color: var(--ink); }
.intro__title { margin-top: 18px; font-size: clamp(18px,2vw,24px); font-weight: 500; letter-spacing: .08em; color: var(--green); }
.intro__lead { font-size: clamp(17px,1.5vw,20px); font-weight: 500; line-height: 1.95; color: var(--ink); margin-bottom: 26px; }
.intro__text { font-size: 15px; line-height: 2.15; color: #46514b; }
.intro__text + .intro__text { margin-top: 1.5em; }

/* 淡いグリーンの波（about下） */
.about-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(84px, 9vw, 132px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* 下端をスパッと切らず、徐々に白へフェード */
  -webkit-mask-image: linear-gradient(to bottom, #000 32%, rgba(0,0,0,0) 94%);
          mask-image: linear-gradient(to bottom, #000 32%, rgba(0,0,0,0) 94%);
}
.aw { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; display: block; will-change: transform; }
.aw--back  { fill: #e7f5ef; bottom: 10px; animation: waveR 18s linear infinite; }
.aw--mid   { fill: #d6efe0; bottom: 5px;  animation: waveL 13s linear infinite; }
.aw--front { fill: #c5e8d4; bottom: 0;    animation: waveL 9s  linear infinite; }
@media (prefers-reduced-motion: reduce) { .aw { animation: none; } }

/* =========================================================
   DECO MARK（ロゴマークの浮遊装飾）
   ========================================================= */

@media (max-width: 880px) {
  .intro__inner { grid-template-columns: 1fr; gap: 18px; }
}


/* =========================================================
   COMPANY（会社情報）
   ========================================================= */
.company {
  padding: clamp(80px,10vw,140px) 0;
  background-color: #0e2b1f;
  background-image: radial-gradient(rgba(120,215,160,.18) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
}
.company__inner { width: min(1180px, 100% - 48px); margin-inline: auto; }
.company .sec-head__en { color: #fff; }
.company .sec-head__jp { color: #7dd1a0; }
.company .ccard { color: #fff; }
.company .ccard__brackets span { border-color: rgba(255,255,255,.42); }
.company .ccard__photo { box-shadow: none; }
.company__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}
.ccard { position: relative; display: block; padding: 12px; color: var(--ink); }
.ccard__brackets span { position: absolute; width: 14px; height: 14px; border: 1px solid rgba(46,158,91,.45); }
.ccard__brackets span:nth-child(1){ top:0; left:0; border-right:0; border-bottom:0; }
.ccard__brackets span:nth-child(2){ top:0; right:0; border-left:0; border-bottom:0; }
.ccard__brackets span:nth-child(3){ bottom:0; left:0; border-right:0; border-top:0; }
.ccard__brackets span:nth-child(4){ bottom:0; right:0; border-left:0; border-top:0; }
.ccard__photo {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  transition: transform .5s ease, box-shadow .5s ease;
}
.ccard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ccard__photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(10,30,20,.62) 100%);
  pointer-events: none;
}
.ccard__photo--1 { background: linear-gradient(160deg,#1f7d49,#14302a); }
.ccard__photo--2 { background: linear-gradient(160deg,#2e9e5b,#185f3a); }
.ccard__photo--4 { background: linear-gradient(160deg,#268a5a,#163f30); }
.ccard__photo::before {            /* ロゴマーク透かし */
  content: "";
  position: absolute;
  right: -22px; bottom: -22px;
  width: 130px; height: 130px;
  background: url("../assets/img/logo-mark.png") no-repeat center / contain;
  filter: brightness(0) invert(1);
  opacity: .12;
}
.ccard:hover .ccard__photo { transform: translateY(-4px); }
.ccard__info {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 100%);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 8px;
  color: #fff;
}
.ccard__no { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.ccard__sep { width: 1px; height: 12px; background: rgba(255,255,255,.5); }
.ccard__en { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em; justify-self: start; }
.ccard__title { grid-column: 1 / -1; margin: 0; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.25); font-size: clamp(15px,1.5vw,18px); font-weight: 600; letter-spacing: .02em; }

@media (max-width: 900px) { .company__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .company__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 16px; }
  .ccard__photo { aspect-ratio: 3 / 2; } /* SPも横3:縦2に統一 */
}

/* =========================================================
   RECRUIT（採用情報）
   ========================================================= */
.recruit { padding: clamp(72px,9vw,120px) 0; overflow: hidden; background: #fff; }
.recruit__inner { position: relative; width: min(1180px, 100% - 48px); margin-inline: auto; }
.recruit__card {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin-inline: auto;
  border-radius: 24px;
  padding: clamp(36px,4.2vw,58px) clamp(24px,6vw,80px);
  text-align: center;
  color: #fff;
  background: linear-gradient(118deg, #34b06a 0%, #2e9e5b 52%, #1f7d57 100%);
  box-shadow: 0 30px 64px rgba(20,80,55,.22);
}
.recruit__en { font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .14em; margin-bottom: 18px; }
.recruit__title { font-size: clamp(24px,3.4vw,40px); font-weight: 700; letter-spacing: .03em; line-height: 1.4; margin-bottom: 26px; }
.recruit__text { font-size: clamp(14px,1.05vw,16px); line-height: 2.1; color: rgba(255,255,255,.94); }
.recruit__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px,4vw,44px);
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .06em;
  transition: background .25s, color .25s;
}
.recruit__btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  transition: transform .3s cubic-bezier(.6,0,.3,1), background .3s;
}
.recruit__btn-arrow::before {        /* CSS製シェブロン（右） */
  content: "";
  width: 6px; height: 6px;
  margin-left: -2px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: rotate(45deg);
}
.recruit__btn:hover { background: rgba(255,255,255,.16); }
.recruit__btn:hover .recruit__btn-arrow { transform: translateX(5px); }
/* 写真（ふわふわ浮遊） */
.recruit__photo {
  position: absolute;
  z-index: 3;
  border-radius: 16px;
  overflow: hidden;
  background: #eef4f3;
  box-shadow: 0 18px 38px rgba(0,0,0,.16);
  will-change: transform;
  animation: recruitFloat 6s ease-in-out infinite;
}
.recruit__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recruit__photo--1 { width: clamp(140px,15vw,210px); aspect-ratio: 4/5; left: 2%;  top: -26px; animation-duration: 5.6s; animation-delay: 0s; }
.recruit__photo--2 { width: clamp(110px,11vw,160px); aspect-ratio: 1/1; left: -1%; bottom: 26px; animation-duration: 6.8s; animation-delay: -2.2s; }
.recruit__photo--3 { width: clamp(180px,19vw,260px); aspect-ratio: 4/3; right: 3%; top: -18px; animation-duration: 5.1s; animation-delay: -1.1s; }
.recruit__photo--4 { width: clamp(120px,12vw,165px); aspect-ratio: 4/5; right: 6%; bottom: -28px; border-radius: 90px 90px 16px 16px; animation-duration: 7.2s; animation-delay: -3.4s; }
@keyframes recruitFloat {
  0%   { transform: translateY(0) rotate(-.6deg); }
  50%  { transform: translateY(-14px) rotate(.6deg); }
  100% { transform: translateY(0) rotate(-.6deg); }
}
@media (prefers-reduced-motion: reduce) { .recruit__photo { animation: none; } }
@media (max-width: 1040px) { .recruit__photo { display: none; } }

/* =========================================================
   会社情報 下層ページ：フッター上部のカードナビ（.cnav）
   ========================================================= */
.cnav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; background: #0e2b1f; }
.cnav--3 { grid-template-columns: repeat(3, 1fr); }
.cnav__card { position: relative; display: block; height: clamp(130px, 14vw, 190px); overflow: hidden; text-decoration: none; }
.cnav__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.cnav__card:hover .cnav__media { transform: scale(1.06); }
.cnav__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,18,.12) 0%, rgba(6,26,18,.68) 100%); }
.cnav__label { position: absolute; left: clamp(20px,2.4vw,34px); bottom: clamp(16px,2vw,24px); z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #fff; }
.cnav__en { font-family: var(--en); font-weight: 300; font-size: 11px; letter-spacing: .2em; opacity: .85; }
.cnav__jp { font-size: clamp(16px,1.6vw,21px); font-weight: 600; letter-spacing: .06em; }
.cnav__arrow {
  position: absolute; right: clamp(18px,2vw,26px); bottom: clamp(16px,2vw,24px); z-index: 2;
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  display: grid; place-items: center; transition: background .25s ease, border-color .25s ease;
}
.cnav__arrow::before {
  content: ""; width: 8px; height: 8px; margin-left: -2px;
  border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg);
  transition: transform .25s ease;
}
.cnav__card:hover .cnav__arrow { background: rgba(255,255,255,.18); border-color: #fff; }
.cnav__card:hover .cnav__arrow::before { transform: rotate(45deg) translate(2px,-2px); }
@media (max-width: 768px) {
  .cnav { grid-template-columns: 1fr; }
  .cnav__card { height: 130px; }
  .cnav__arrow { width: 34px; height: 34px; }
}

/* =========================================================
   医療関係者ゲート（products一覧 / 商品詳細 共通）
   ========================================================= */
html.gate-lock, html.gate-lock body { overflow: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(244,247,246,.96);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.gate__card {
  width: min(760px, 100%); background: #fff; border: 1px solid #d7dcda; border-radius: 6px;
  padding: clamp(36px,5vw,64px) clamp(24px,5vw,56px); text-align: center;
  box-shadow: 0 24px 60px rgba(20,40,30,.10);
}
.gate__head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 26px; }
.gate__icon {
  width: 40px; height: 40px; flex-shrink: 0; border: 2.5px solid #2f6fde; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #2f6fde; font-size: 24px; font-weight: 700; line-height: 1; font-family: var(--en);
}
.gate__title { font-size: clamp(20px,2.4vw,26px); font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.gate__lead { font-size: clamp(13px,1.05vw,15px); line-height: 2; color: #46514b; margin-bottom: 30px; }
.gate__q { font-size: clamp(15px,1.4vw,18px); font-weight: 700; color: var(--ink); margin-bottom: 22px; }
.gate__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.gate__btn {
  min-width: 180px; padding: 15px 28px; border-radius: 4px; color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: .08em; transition: opacity .2s, transform .2s;
}
.gate__btn:hover { opacity: .9; transform: translateY(-1px); }
.gate__btn--yes { background: #2f6fde; }
.gate__btn--no  { background: #9a9a9a; }
@media (max-width: 480px) { .gate__btn { min-width: 0; flex: 1; } }

/* =========================================================
   商品詳細ページ（news詳細 .ndetail を踏襲した .pdetail）
   ========================================================= */
.pdetail { width: min(1064px, 100% - 48px); margin: clamp(40px,5vw,64px) auto clamp(80px,10vw,128px); }
.pdetail__head {
  display: flex; align-items: center; gap: clamp(18px,2.6vw,32px);
  margin-bottom: clamp(30px,3.6vw,46px); padding-bottom: clamp(24px,3vw,36px); border-bottom: 1px solid #e4ece7;
}
.pdetail__thumb {
  flex: 0 0 auto; width: clamp(220px,28vw,320px); aspect-ratio: 16 / 10;
  border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #e7efe9;
}
.pdetail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__headtext { min-width: 0; }
.pdetail__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 14px; }
.pdetail__cat {
  font-size: 11.5px; letter-spacing: .06em; color: var(--green);
  padding: 4px 12px; border: 1px solid #bfe0cc; border-radius: 4px; white-space: nowrap;
}
.pdetail__maker { font-size: 13px; color: #78857e; }
.pdetail__title {
  font-family: var(--jp); font-size: clamp(24px,2.4vw,32px); font-weight: 700;
  line-height: 1.5; letter-spacing: .01em; color: var(--ink); margin: 0;
}
.pdetail__body { max-width: 860px; font-size: 16px; line-height: 2; color: var(--ink); }
.pdetail__body > *:first-child { margin-top: 0; }
.pdetail__body p { margin: 0 0 1.4em; }
.pdetail__body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.pdetail__body a:hover { color: var(--green-dark); }
.pdetail__body h2 {
  font-family: var(--jp); font-size: clamp(18px,1.6vw,21px); font-weight: 700; color: var(--ink);
  margin: 2.2em 0 .8em; padding-left: 14px; border-left: 4px solid var(--green); line-height: 1.5;
}
.pdetail__body h3 {
  font-family: var(--jp); font-size: clamp(16px,1.4vw,18px); font-weight: 700; color: var(--ink);
  margin: 2em 0 .7em; padding-bottom: .5em; border-bottom: 1px solid #dfe8e3; line-height: 1.5;
  display: flex; align-items: center; gap: 10px;
}
.pdetail__body h3::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; background: var(--green);
}
.pdetail__body strong { font-weight: 700; color: var(--ink); }
.pdetail__body blockquote {
  margin: 1.6em 0; padding: clamp(16px,2vw,22px) clamp(20px,2.4vw,28px);
  background: #f4f8f5; border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; color: #4a5852;
}
.pdetail__body blockquote p { margin: 0; font-size: 15px; line-height: 1.9; }
.pdetail__body blockquote cite { display: block; margin-top: .8em; font-size: 13px; color: #8b968f; font-style: normal; }
.pdetail__body ul { list-style: none; margin: 0 0 1.4em; padding-left: 0; }
.pdetail__body ul li { position: relative; padding-left: 1.4em; margin-bottom: .5em; }
.pdetail__body ul li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.pdetail__body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.pdetail__body ol li { margin-bottom: .5em; padding-left: .2em; }
.pdetail__body ol li::marker { color: var(--green); font-weight: 700; }
/* レスポンシブ表：SPはセルを潰さず横スクロール（参考: waltsu renewal blog） */
 .ndetail__table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(46,158,91,.55) rgba(0,0,0,.07);
}
 .ndetail__table-wrap::-webkit-scrollbar { height: 8px; }
 .ndetail__table-wrap::-webkit-scrollbar-track { background: rgba(0,0,0,.06); border-radius: 5px; }
 .ndetail__table-wrap::-webkit-scrollbar-thumb { background: rgba(46,158,91,.55); border-radius: 5px; }
.pdetail__body table:not(.pdetail__spec) { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; border: 1px solid #e0e8e3; }
.pdetail__body table:not(.pdetail__spec) th, .pdetail__body table:not(.pdetail__spec) td {
  padding: 12px 16px; border: 1px solid #e0e8e3; text-align: left; vertical-align: top;
}
.pdetail__body table:not(.pdetail__spec) thead th { background: var(--green); color: #fff; font-weight: 600; white-space: nowrap; }
.pdetail__body table:not(.pdetail__spec) tbody tr:nth-child(even) td { background: #fafcfb; }
.pdetail__spec { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; border: 1px solid #e0e8e3; margin: 0 0 1.4em; }
.pdetail__spec th, .pdetail__spec td { padding: 12px 16px; border: 1px solid #e0e8e3; text-align: left; vertical-align: top; }
.pdetail__spec th { background: #f4f8f5; color: var(--ink); font-weight: 600; white-space: nowrap; width: 34%; }
/* お問合せCTA（記事最下部・ボタンのみ） */
.pdetail__cta { margin-top: clamp(48px,6vw,72px); text-align: center; }
.pdetail__cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 52px; border-radius: 999px; background: var(--green); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.pdetail__cta-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31,125,73,.24); }
.pdetail__cta-btn i { font-style: normal; font-family: var(--en); font-size: 18px; }

.pdetail__nav { margin-top: clamp(36px,4.5vw,52px); text-align: center; }
.pdetail__back {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 46px;
  border: 1px solid var(--green); border-radius: 999px; font-size: 14px; letter-spacing: .04em;
  color: var(--green); background: #fff; transition: background .25s, color .25s;
}
.pdetail__back:hover { background: var(--green); color: #fff; }
.pdetail__back-arrow { font-family: var(--en); }
@media (max-width: 560px) {
  .pdetail__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pdetail__thumb { width: 100%; }  /* SP：比率(16/10)維持のまま横幅100% */
  /* 表：セルを潰さず横スクロール（潰れ防止の最小幅を確保） */
   .ndetail__table-wrap > table { min-width: 480px; }
  
  .ndetail__table-wrap th, .ndetail__table-wrap td { min-width: 100px; white-space: nowrap; }
}

/* ===== 投稿埋め込み（oEmbed）カード：PCで最大800pxに（既定の約500pxは狭いため） ===== */
.wp-embedded-content { max-width: 100%; }
iframe.wp-embedded-content { width: 800px !important; max-width: 100% !important; }
