/* =========================================================
   MCR LAB  ― 色・文字の基本（黒背景）
   ========================================================= */
:root {
  --bg: #050608;
  --bg-2: #0b0e13;
  --ink: #eef2f5;
  --ink-soft: #b9c2cb;
  --gray: #8a949e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --ice: #cfe9f5;
  --glow: rgba(255, 255, 255, 0.85);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --round: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: min(1120px, calc(100% - 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--round);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html:not(.is-loaded) body {
  overflow: hidden;
}

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

a {
  color: inherit;
}

main {
  position: relative;
}

.site-footer {
  position: relative;
  z-index: 2;
}

/* 文字・カード類は光の絵の具（#fluid）より手前に出す */
.hero-inner,
.scroll-cue,
main .wrap,
main .narrow,
.page-head h1,
.page-head p {
  position: relative;
  z-index: 2;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

/* =========================================================
   背景：ゆっくり揺れる光（黒地に青・紫・白）
   ========================================================= */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-a {
  width: 62vmax;
  height: 46vmax;
  left: -18vmax;
  top: -16vmax;
  background: radial-gradient(closest-side, rgba(70, 110, 200, 0.32), rgba(70, 110, 200, 0));
  animation: drift-a 26s ease-in-out infinite alternate;
}

.orb-b {
  width: 54vmax;
  height: 40vmax;
  right: -20vmax;
  top: 8vmax;
  background: radial-gradient(closest-side, rgba(120, 90, 210, 0.26), rgba(120, 90, 210, 0));
  animation: drift-b 32s ease-in-out infinite alternate;
}

.orb-c {
  width: 44vmax;
  height: 34vmax;
  left: 30vmax;
  top: 40vh;
  background: radial-gradient(closest-side, rgba(90, 170, 200, 0.18), rgba(90, 170, 200, 0));
  animation: drift-c 24s ease-in-out infinite alternate;
}

.orb-d {
  width: 48vmax;
  height: 30vmax;
  right: -12vmax;
  bottom: -14vmax;
  background: radial-gradient(closest-side, rgba(200, 215, 255, 0.12), rgba(200, 215, 255, 0));
  animation: drift-d 36s ease-in-out infinite alternate;
}

.ribbon {
  position: absolute;
  left: -20vw;
  width: 140vw;
  height: 24vh;
  filter: blur(50px);
  border-radius: 50%;
  will-change: transform;
}

.ribbon-1 {
  top: 22vh;
  opacity: 0.35;
  background: linear-gradient(
    90deg,
    rgba(80, 120, 220, 0) 0%,
    rgba(80, 120, 220, 0.4) 24%,
    rgba(255, 255, 255, 0.22) 44%,
    rgba(130, 100, 220, 0.35) 64%,
    rgba(130, 100, 220, 0) 100%
  );
  animation: wave-1 22s ease-in-out infinite alternate;
}

.ribbon-2 {
  top: 64vh;
  height: 18vh;
  opacity: 0.25;
  background: linear-gradient(
    90deg,
    rgba(120, 180, 210, 0) 0%,
    rgba(120, 180, 210, 0.35) 30%,
    rgba(255, 255, 255, 0.18) 52%,
    rgba(80, 110, 200, 0.35) 74%,
    rgba(80, 110, 200, 0) 100%
  );
  animation: wave-2 28s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate(14vw, 10vh) scale(1.15) rotate(12deg);
  }
}
@keyframes drift-b {
  to {
    transform: translate(-16vw, 14vh) scale(0.9) rotate(-10deg);
  }
}
@keyframes drift-c {
  to {
    transform: translate(-18vw, -12vh) scale(1.2);
  }
}
@keyframes drift-d {
  to {
    transform: translate(-12vw, -16vh) scale(1.18) rotate(8deg);
  }
}
@keyframes wave-1 {
  0% {
    transform: translate(-6vw, 0) rotate(-6deg) scaleY(0.9);
  }
  50% {
    transform: translate(4vw, 6vh) rotate(3deg) scaleY(1.3);
  }
  100% {
    transform: translate(8vw, -4vh) rotate(-2deg) scaleY(1);
  }
}
@keyframes wave-2 {
  0% {
    transform: translate(6vw, 0) rotate(5deg);
  }
  50% {
    transform: translate(-4vw, -5vh) rotate(-4deg) scaleY(1.4);
  }
  100% {
    transform: translate(-8vw, 4vh) rotate(2deg);
  }
}

/* 細かい星屑（うっすら） */
.stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 38% 66%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 86% 54%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 58% 34%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 94% 86%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 6% 48%, rgba(255, 255, 255, 0.3), transparent 60%);
  opacity: 0.7;
}

/* =========================================================
   画面のふちを回り続ける白い光
   ========================================================= */
.edge-orbit {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.edge-orbit i {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: -75px 0 0 -75px;
  background: radial-gradient(
    circle,
    #ffffff 0 7%,
    rgba(255, 255, 255, 0.75) 14%,
    rgba(220, 235, 255, 0.32) 32%,
    rgba(220, 235, 255, 0) 66%
  );
  mix-blend-mode: screen;
  animation: edge-run 14s linear infinite;
  will-change: transform;
}

.edge-orbit i + i {
  animation-delay: -7s;
}

@media (max-width: 640px) {
  .edge-orbit i {
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    animation-duration: 10s;
  }
  .edge-orbit i + i {
    animation-delay: -5s;
  }
}

/* マウスについてくる淡い光（PCのみ） */
.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.09),
    rgba(160, 190, 255, 0.05) 45%,
    rgba(255, 255, 255, 0)
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
}

.cursor-light.is-on {
  opacity: 1;
}

/* =========================================================
   読み込み中：1〜100 を数える
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #10141b 0%, #06070a 70%);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), visibility 0s linear 0.9s;
}

.is-loaded .loader {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.12);
  pointer-events: none;
}

.loader-num {
  display: block;
  min-width: 3ch;
  text-align: center;
  font-weight: 800;
  font-size: clamp(64px, 12vw, 140px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  background: linear-gradient(110deg, #ffffff, #cfe9f5 50%, #8fa6d8);
  -webkit-background-clip: text;
  background-clip: text;
}

.loader-bar {
  display: block;
  width: min(220px, 50vw);
  height: 2px;
  margin: 22px auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader-bar i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #ffffff, #8fa6d8);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 14, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -20px rgba(0, 0, 0, 0.8);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}

.gnav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gnav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #ffffff, rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}

.gnav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.gnav .nav-cta a {
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 22px -8px rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  transition: background 0.4s ease, color 0.4s ease;
}

.gnav .nav-cta a::after {
  display: none;
}

.gnav .nav-cta a:hover {
  background: #ffffff;
  color: #05070a;
}

.menu-btn {
  display: none;
}

@media (max-width: 900px) {
  .header-inner {
    height: 66px;
  }
  .brand img {
    height: 42px;
  }
  .menu-btn {
    position: relative;
    z-index: 2;
    display: block;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
  }
  .menu-btn span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -9px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 0.5s var(--ease);
  }
  .menu-btn span:nth-child(1) {
    transform: translateY(-4px);
  }
  .menu-btn span:nth-child(2) {
    transform: translateY(4px);
  }
  .nav-open .menu-btn span:nth-child(1) {
    transform: rotate(45deg);
  }
  .nav-open .menu-btn span:nth-child(2) {
    transform: rotate(-45deg);
  }
  .gnav {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(5, 6, 9, 0.86);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
  }
  .nav-open .gnav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease;
  }
  body.nav-open {
    overflow: hidden;
  }
  .nav-open .site-header,
  .nav-open .site-header.is-scrolled {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .gnav ul {
    flex-direction: column;
    gap: 28px;
  }
  .gnav a {
    font-size: 22px;
  }
  .gnav .nav-cta a {
    font-size: 17px;
    padding: 12px 30px;
  }
}

/* =========================================================
   ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 3.2s var(--ease), opacity 2s ease;
}

.is-loaded .hero-visual img {
  transform: scale(1);
  opacity: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.82) 0%, rgba(5, 6, 8, 0.35) 55%, rgba(5, 6, 8, 0.15) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.3) 0%, rgba(5, 6, 8, 0) 30%, rgba(5, 6, 8, 0) 70%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin: 0 auto;
}

.hero-label {
  margin: 0 0 18px;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--ice);
}

.catch {
  margin: 0;
  font-weight: 800;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 2;
  color: var(--ink-soft);
}

.hero-company {
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-weight: 700;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}

.hero-company::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 56px;
  height: 1px;
  margin-right: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #ffffff);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.hero .fade {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(8px);
}

.is-loaded .hero .fade {
  animation: rise 1.6s var(--ease) forwards;
}

.is-loaded .hero .fade:nth-child(2) {
  animation-delay: 0.2s;
}
.is-loaded .hero .fade:nth-child(3) {
  animation-delay: 0.45s;
}
.is-loaded .hero .fade:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  transform: translateX(-50%);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-decoration: none;
}

.scroll-cue::before {
  content: "";
  display: block;
  width: 1px;
  height: 64px;
  margin: 0 auto 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
  position: relative;
  overflow: hidden;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 18px;
  margin-left: -1px;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  animation: drop 2.2s var(--ease) infinite;
}

@keyframes drop {
  from {
    top: -18px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    top: 64px;
    opacity: 0;
  }
}

/* =========================================================
   セクション共通
   ========================================================= */
.section {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
}

.sec-title {
  margin: 0 0 clamp(48px, 7vw, 80px);
  text-align: center;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.sec-title small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gray);
}

.sec-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff, rgba(255, 255, 255, 0));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.sub-title {
  margin: 0 0 32px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* スクロールで浮かび上がる */
.rv {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease);
}

.rv.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .rv,
  .hero .fade {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  .orb,
  .ribbon,
  .edge-orbit i {
    animation: none !important;
  }
  .edge-orbit {
    display: none;
  }
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 0 30px -10px rgba(255, 255, 255, 0.6);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.btn i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #05070a;
  font-style: normal;
  font-size: 15px;
  transition: transform 0.4s var(--ease);
}

.btn:hover {
  background: #ffffff;
  color: #05070a;
  box-shadow: 0 0 40px -6px rgba(255, 255, 255, 0.9);
}

.btn:hover i {
  background: #05070a;
  color: #ffffff;
  transform: translateX(4px);
}

/* =========================================================
   NEWS
   ========================================================= */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 9.5em 1fr 28px;
  gap: 8px 28px;
  align-items: start;
  padding: 30px 8px;
  text-decoration: none;
  transition: background 0.5s ease;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.035);
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.news-date {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice);
  white-space: nowrap;
}

.news-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.news-excerpt {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-arrow {
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s var(--ease);
}

.news-item:hover .news-arrow {
  background: #ffffff;
  color: #05070a;
  transform: translateX(4px);
}

.more {
  margin-top: 44px;
  text-align: center;
}

@media (max-width: 640px) {
  .news-item {
    grid-template-columns: 1fr 24px;
    padding: 24px 4px;
  }
  .news-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .news-arrow {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  animation: breathe 8s ease-in-out infinite;
}

.about-visual img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(0.2) contrast(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 80px -20px rgba(255, 255, 255, 0.5);
}

@keyframes breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}

.mission {
  margin: 0 0 28px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.mission em {
  font-style: normal;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}

.about-body p {
  margin: 0 0 1.4em;
  color: var(--ink-soft);
  line-height: 2.1;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-body strong {
  color: #ffffff;
}

/* 社長のメッセージ */
.ceo {
  margin-top: clamp(96px, 12vw, 150px);
}

.ceo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.profile {
  position: sticky;
  top: 110px;
  padding: 32px 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-edge);
  text-align: center;
}

.profile img {
  width: 160px;
  height: 160px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #dfe7ef;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 50px -14px rgba(255, 255, 255, 0.6);
}

.profile-role {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.profile-name {
  margin: 6px 0 20px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.profile-career {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
  color: var(--gray);
  text-align: left;
}

.ceo-body p {
  margin: 0 0 1.6em;
  color: var(--ink-soft);
  line-height: 2.2;
  font-size: 16px;
}

.ceo-body .lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 2;
  color: #ffffff;
}

@media (max-width: 900px) {
  .about-grid,
  .ceo-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    max-width: 300px;
  }
  .profile {
    position: relative;
    top: 0;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 14px 14px 26px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-edge);
  transition: transform 0.6s var(--ease), border-color 0.6s ease, box-shadow 0.6s ease;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 50px -18px rgba(255, 255, 255, 0.55);
}

.product-img {
  display: grid;
  place-items: center;
  aspect-ratio: 425 / 390;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-img.is-contain {
  background: #ffffff;
}

.product-img.is-contain img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.product:hover .product-img img {
  transform: scale(1.06);
}

.product-num {
  margin: 22px 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray);
}

.product h3 {
  margin: 4px 12px 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.product-desc {
  margin: 12px 12px 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.product dl {
  display: grid;
  grid-template-columns: 4.6em 1fr;
  gap: 6px 10px;
  margin: auto 12px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}

.product .product-desc + dl {
  margin-top: 18px;
}

.product dt {
  font-weight: 700;
  color: var(--gray);
}

.product dd {
  margin: 0;
  color: var(--ink);
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 0;
  box-shadow: 0 0 8px currentColor;
}

@media (max-width: 980px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   代理店募集
   ========================================================= */
.agent-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 34px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-edge);
  overflow: hidden;
}

.agent-card::before {
  content: "";
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  left: -20%;
  top: -40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.agent-text {
  position: relative;
}

.agent-text .eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gray);
}

.agent-text h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.agent-text p {
  margin: 20px 0 34px;
  color: var(--ink-soft);
  line-height: 2;
}

.agent-img {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.agent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.92);
}

@media (max-width: 800px) {
  .agent-card {
    grid-template-columns: 1fr;
  }
  .agent-img {
    order: -1;
  }
}

/* =========================================================
   COMPANY
   ========================================================= */
.company-card {
  max-width: 860px;
  margin: 0 auto;
}

.company-card dl {
  display: grid;
  grid-template-columns: 9em 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-card dt,
.company-card dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.9;
}

.company-card dt {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.company-card dd {
  color: var(--ink);
}

@media (max-width: 640px) {
  .company-card dl {
    grid-template-columns: 1fr;
  }
  .company-card dt {
    padding: 16px 0 2px;
    border-bottom: 0;
    font-size: 13px;
  }
  .company-card dd {
    padding: 0 0 16px;
  }
}

/* =========================================================
   下層ページ（NEWS・お問い合わせ）
   ========================================================= */
.page-head {
  position: relative;
  padding: clamp(150px, 18vw, 210px) 0 clamp(40px, 6vw, 70px);
  text-align: center;
}

.page-head h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.page-head p {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gray);
}

.page-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 26px auto 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff, rgba(255, 255, 255, 0));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.page-body {
  padding: 0 0 clamp(96px, 12vw, 150px);
}

.narrow {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.post {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-edge);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.post h1 {
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.post-body p {
  margin: 0 0 1.4em;
  color: var(--ink-soft);
  line-height: 2.2;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #ffffff;
}

/* お問い合わせフォーム */
.form-card {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-edge);
}

.form-intro {
  margin: 0 0 36px;
  color: var(--ink-soft);
  line-height: 2;
  text-align: center;
}

.form .row {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 10px 28px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.form .row.row-top {
  align-items: start;
}

.form .row.row-top label {
  padding-top: 12px;
}

.form label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.req {
  display: inline-block;
  margin-left: 10px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 20px;
  background: #ffffff;
  color: #05070a;
  vertical-align: 1px;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

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

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 0 24px -8px rgba(255, 255, 255, 0.6);
}

.form ::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.agree {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 34px 0 30px;
  font-size: 14px;
  color: var(--ink-soft);
}

.agree input {
  width: 18px;
  height: 18px;
  accent-color: #ffffff;
}

.form-submit {
  text-align: center;
}

.form-submit .btn {
  cursor: pointer;
  font-family: inherit;
}

.form-submit .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  min-height: 1.5em;
}

@media (max-width: 640px) {
  .form .row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form .row.row-top label {
    padding-top: 0;
  }
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.6);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 72px 0 40px;
  text-align: center;
}

.footer-logo img {
  height: 56px;
  width: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.footer-company {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-address {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.copy {
  display: block;
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray);
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .wrap {
    --wrap: calc(100% - 40px);
  }
}

/* =========================================================
   追加：メイン画像（picture）
   ========================================================= */
.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================================
   追加：製品カードのSDSリンク
   ========================================================= */
.sds-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 12px 0;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  align-self: flex-start;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.sds-link i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: #05070a;
  font-style: normal;
  font-size: 12px;
  transition: transform 0.4s var(--ease);
}

.sds-link:hover {
  background: #ffffff;
  color: #05070a;
  border-color: #ffffff;
}

.sds-link:hover i {
  background: #05070a;
  color: #ffffff;
  transform: translateX(3px);
}

/* =========================================================
   追加：SDSページ
   ========================================================= */
.sds-doc {
  padding: clamp(26px, 5vw, 56px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-edge);
}

.sds-doc-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ice);
}

.sds-name {
  margin: 8px 0 22px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.sds-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  margin: 0 0 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 14px;
}

.sds-meta dt {
  font-weight: 700;
  color: var(--gray);
}

.sds-meta dd {
  margin: 0;
}

.sds-sec {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.sds-sec:last-of-type {
  border-bottom: 0;
}

.sds-sec h2 {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.sds-body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.sds-body p {
  margin: 0 0 6px;
}

.sds-row {
  display: grid;
  grid-template-columns: minmax(8em, 13em) 1fr;
  gap: 2px 16px;
  padding: 5px 0;
}

.sds-row.sds-code {
  grid-template-columns: minmax(8em, 13em) 1fr;
}

.sds-k {
  font-weight: 700;
  color: var(--ink);
}

.sds-v a {
  color: var(--ice);
}

.sds-li {
  padding-left: 0.2em;
}

.sds-note {
  font-size: 13px;
  color: var(--gray);
}

.sds-copy {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--gray);
  text-align: right;
}

.print-btn {
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 640px) {
  .sds-row,
  .sds-row.sds-code {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .sky,
  .cursor-light,
  .edge-orbit,
  .loader,
  .site-header,
  .site-footer,
  .page-head,
  .post-nav {
    display: none !important;
  }
  .page-body {
    padding: 0 !important;
  }
  .narrow {
    width: 100% !important;
  }
  .sds-doc,
  .rv {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
  }
  .sds-doc *,
  .sds-body,
  .sds-k,
  .sds-name {
    color: #000000 !important;
  }
  .sds-meta {
    background: none !important;
    border-color: #999999 !important;
  }
  .sds-sec {
    border-color: #cccccc !important;
    break-inside: avoid;
  }
  .sds-sec h2 {
    border-color: #000000 !important;
  }
}

/* =========================================================
   追加：お問い合わせ（種類の切り替え・項目）
   ========================================================= */
.type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  margin: 0 0 30px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.type-btn {
  padding: 13px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.type-btn.is-active {
  background: #ffffff;
  color: #05070a;
  box-shadow: 0 0 26px -6px rgba(255, 255, 255, 0.8);
}

[hidden] {
  display: none !important;
}

.opt {
  display: inline-block;
  margin-left: 10px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 20px;
  border: 1px solid var(--line-strong);
  color: var(--gray);
  vertical-align: 1px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.row-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.form .checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  cursor: pointer;
}

.checks input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: #ffffff;
}

.form-note.is-error {
  color: #ff9aa8;
}

.form-done {
  text-align: center;
  padding: 20px 0 10px;
}

.form-done-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.form-done p {
  color: var(--ink-soft);
  line-height: 2;
}

.form-done .btn {
  margin-top: 26px;
}

@media (max-width: 640px) {
  .type-btn {
    font-size: 13px;
    padding: 12px 6px;
  }
  .checks {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   追加：触ったところに広がる白い光の絵の具
   背景・メイン画像の上、文字やカードの下に重ね、明るさを足す（screen）
   ========================================================= */
#fluid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 背景・メイン画像の上、文字やカードの下 */
  pointer-events: none;
  mix-blend-mode: screen;
}

@media print {
  #fluid {
    display: none !important;
  }
}

/* Turnstile（自動送信防止の確認） */
.turnstile-box {
  display: flex;
  justify-content: center;
  min-height: 65px;
  margin: 0 0 26px;
}

/* =========================================================
   追加：後ろで光の絵の具が流れても読めるように
   カード類は背景を濃くし、カードの外の文字には薄い影を付ける
   ========================================================= */
.product,
.profile,
.agent-card,
.form-card,
.post,
.sds-doc {
  background: linear-gradient(170deg, rgba(20, 23, 30, 0.92), rgba(9, 11, 15, 0.94));
}

.news-list,
.company-card {
  background: rgba(7, 9, 12, 0.72);
  border-radius: 20px;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.company-card dl {
  padding: 0 24px;
  border-top: 0;
}

.sec-title,
.sub-title,
.about-body,
.ceo-body,
.page-head h1,
.page-head p,
.hero-inner,
.agent-text {
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.85), 0 0 4px rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
  .company-card dl {
    padding: 0 18px;
  }
}

/* NEWSカード内の左右の余白 */
.news-item {
  padding: 30px 32px;
}

@media (max-width: 640px) {
  .news-item {
    padding: 22px 20px;
  }
}

/* プライバシーポリシー */
.privacy-lead {
  margin-bottom: 8px;
}

.agree a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agree a:hover {
  color: var(--ice);
}
