/* =========================================================
   ハッピーデザイン TOPページ
   デザインシステム（CSS変数）
   ========================================================= */
:root {
  /* ベースカラー */
  --c-ink: #0b1120;
  --c-ink-2: #131c31;
  --c-navy: #16223a;
  --c-text: #1a2333;
  --c-text-sub: #5c6b82;
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fb;
  --c-line: #e5eaf2;

  --c-orange: #ff6b35;
  --c-amber: #ffb347;
  --c-blue: #1f6feb;
  --c-cyan: #22c1c3;
  --grad: linear-gradient(90deg, #ff6b35 0%, #ffb347 100%);
  --grad-soft: linear-gradient(135deg, #ff6b35 0%, #ff8c61 55%, #ffb347 100%);
  --grad-cool: linear-gradient(135deg, #1f6feb 0%, #22c1c3 100%);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(12, 18, 34, .08);
  --shadow-hover: 0 22px 48px rgba(12, 18, 34, .16);
  --container: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }

::selection { background: rgba(255, 107, 53, .25); }

/* ===== Layout helpers ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 100px 0; }
.section--alt { background: var(--c-bg-alt); }
.center { text-align: center; margin-top: 44px; }
.grad-text {
  background: linear-gradient(90deg, #ff6b35, #ffb347, #ff6b35);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s linear infinite;
}

/* ===== Section head ===== */
.section__head { text-align: left; margin-bottom: 56px; }
.section__en {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  letter-spacing: .24em;
  font-weight: 700;
  color: var(--c-orange);
  margin-bottom: 12px;
}
.section__en::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.4;
}
.section__desc { margin-top: 16px; color: var(--c-text-sub); }
.section__head--light .section__title,
.section__head--light .section__desc { color: var(--c-white); }
.note { font-size: 13px; color: var(--c-text-sub); margin-top: 16px; }
.note--light { color: rgba(255, 255, 255, .6); }

/* ===== Buttons ===== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s, color .25s, border-color .25s;
}
.btn--primary {
  background: var(--grad-soft);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 107, 53, .35);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(255, 107, 53, .45); }
.btn--primary:hover::after { left: 130%; }
.btn--ghost {
  border: 1.5px solid var(--c-navy);
  color: var(--c-navy);
}
.btn--ghost:hover { background: var(--c-navy); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 48px; font-size: 17px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 170px 0 140px;
  background:
    radial-gradient(1100px 700px at 88% 8%, rgba(255, 95, 162, .1) 0%, transparent 60%),
    radial-gradient(900px 620px at 8% 92%, rgba(74, 144, 217, .08) 0%, transparent 55%),
    #ffffff;
  color: var(--c-text);
}

/* 背景 */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  will-change: transform;
}
.hero__blob--1 {
  width: 540px;
  height: 540px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 95, 162, .5), rgba(255, 95, 162, 0) 70%);
  animation: blobFloat 14s ease-in-out infinite;
}
.hero__blob--2 {
  width: 480px;
  height: 480px;
  left: 28%;
  bottom: -200px;
  background: radial-gradient(circle at 60% 40%, rgba(155, 89, 208, .45), rgba(155, 89, 208, 0) 70%);
  animation: blobFloat 18s ease-in-out -6s infinite reverse;
}

/* 同心円アーク */
.hero__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .9;
  will-change: transform;
}
.hero__rings circle { stroke-linecap: round; }
.hero__rings circle:nth-child(3n+1) { opacity: .65; }
.hero__rings circle:nth-child(3n+2) {
  stroke-dasharray: 300 110;
  animation: dashFlow 60s linear infinite;
}
.hero__rings circle:nth-child(3n) {
  stroke-dasharray: 210 80;
  animation: dashFlowRev 78s linear infinite;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(97deg,
    rgba(255, 255, 255, .98) 0%,
    rgba(255, 255, 255, .92) 34%,
    rgba(255, 255, 255, .66) 55%,
    rgba(255, 255, 255, .25) 78%,
    rgba(255, 255, 255, .05) 100%);
}

.hero__inner { position: relative; z-index: 2; text-align: left; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(26, 35, 51, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(6px);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--c-navy);
  animation: fadeUp .8s var(--ease-out) .1s both;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 107, 53, .9);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(26px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .04em;
  color: var(--c-navy);
}
/* SP のみ改行するための br */
.hero__br-sp { display: none; }

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.hero__line-in {
  display: inline-block;
  transform: translateY(112%);
  animation: heroRise 1s var(--ease-out) forwards;
}
.hero__line:nth-child(1) .hero__line-in { animation-delay: .25s; }
.hero__line:nth-child(2) .hero__line-in { animation-delay: .4s; }
.hero__line:nth-child(3) .hero__line-in { animation-delay: .55s; }
.hero__line:nth-child(4) .hero__line-in { animation-delay: .7s; }
.hero__em {
  font-style: normal;
  background: linear-gradient(90deg, #ff6b35, #ffb347, #ff6b35);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s linear infinite;
}

.hero__lead {
  margin: 30px 0 0;
  max-width: 720px;
  color: var(--c-text-sub);
  font-size: clamp(15px, 1.7vw, 17px);
  animation: fadeUp .9s var(--ease-out) .85s both;
}
/* リード文中のグラデーション文字は細いと沈むため少し太らせる */
.hero__lead .hero__em { font-weight: 700; }
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeUp .9s var(--ease-out) 1s both;
}
.hero__stats {
  display: flex;
  gap: clamp(24px, 4.5vw, 56px);
  margin-top: 60px;
  flex-wrap: wrap;
  animation: fadeUp .9s var(--ease-out) 1.15s both;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__stats li + li {
  border-left: 1px solid rgba(26, 35, 51, .12);
  padding-left: clamp(24px, 4.5vw, 56px);
}
.hero__stats strong {
  font-family: 'Outfit', "Noto Sans JP", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.hero__stats small { font-size: .5em; }
.hero__stats span { font-size: 13px; color: var(--c-text-sub); margin-top: 6px; }

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(26, 35, 51, .5);
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  animation: fadeUp 1s var(--ease-out) 1.5s both;
  transition: color .3s;
}
.hero__scroll:hover { color: var(--c-navy); }
.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: rgba(26, 35, 51, .16);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--c-navy);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

.vision__grid {
  max-width: 800px;
  text-align: center;
}
.vision__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--c-navy);
}
.vision__body { margin-top: 36px; display: grid; gap: 20px; }
.vision__body p { color: var(--c-text-sub); font-size: 16px; line-height: 2; }
.vision__catch { margin-top: 8px; font-weight: 700; color: var(--c-orange) !important; font-size: clamp(18px, 2vw, 22px) !important; }

.vision__actions { margin-top: 40px; }

.photo-marquee { padding: 24px 0 64px; background: var(--c-bg); overflow: hidden; }
.marquee { width: 100%; overflow: hidden; }
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.photo {
  position: relative;
  flex: 0 0 auto;
  width: 440px;
  height: 300px;
  margin: 0 28px 0 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(12, 18, 34, .14);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.photo:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 48px rgba(12, 18, 34, .22); }

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.photo:hover img { transform: scale(1.05); }

/* 画像読み込み前・失敗時のフォールバック背景 */
.photo--1 { background: linear-gradient(135deg, #3a7d44, #6ba84f); }
.photo--2 { background: linear-gradient(135deg, #2b4a78, #4f9bff); }
.photo--3 { background: linear-gradient(135deg, #1f6feb, #22c1c3); }
.photo--4 { background: linear-gradient(135deg, #c98a2b, #f4b324); }
.photo--5 { background: linear-gradient(135deg, #6a5cff, #1f6feb); }
.photo--6 { background: linear-gradient(135deg, #2f9c97, #2bd4a8); }

.about-us__head { margin-bottom: 64px; }
.about-us__en {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.about-us__en::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.about-us__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--dark-gray);
  letter-spacing: .03em;
}
.about-us__list { display: grid; gap: 72px; }

.about-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-row__num {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.about-row__lead {
  font-size: 14px;
  font-weight: 700;
  color: var(--medium-gray);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.about-row__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--dark-gray);
  margin-bottom: 18px;
}
.about-row__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--medium-gray);
  margin-bottom: 28px;
  max-width: 460px;
}
.about-row__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 28px;
  border: 1.5px solid var(--dark-gray);
  border-radius: 999px;
  color: var(--dark-gray);
  font-weight: 700;
  font-size: 14px;
  transition: background .3s, color .3s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.about-row__btn:hover {
  background: var(--dark-gray);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(12, 18, 34, .18);
}
.about-row__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-gray);
  color: #fff;
  font-size: 20px;
  transition: background .3s, transform .3s;
}
.about-row__btn:hover .about-row__arrow {
  background: var(--c-orange);
  transform: translateX(4px);
}
.about-row__img {
  aspect-ratio: 1600 / 550;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.about-row:hover .about-row__img {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .2);
}
.about-row__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 画像読み込み前・失敗時のフォールバック背景 */
.about-row__img--1 { background: linear-gradient(135deg, #FF8C61, #FF6B35); }
.about-row__img--2 { background: linear-gradient(135deg, #4f9bff, #2b4a78); }
.about-row__img--3 { background: linear-gradient(135deg, #5a9e4f, #2f7d3a); }

.feature-cards { padding-top: 20px; padding-bottom: 40px; }

.fcard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.fcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fcard__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--dark-gray);
  letter-spacing: .03em;
  margin-bottom: 28px;
}
.fcard__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.fcard:hover .fcard__img {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, .2);
}
.fcard__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .28));
}
.fcard__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 画像読み込み前・失敗時のフォールバック背景 */
.fcard__img--1 { background: linear-gradient(135deg, #5a6b85, #2A2A2A); }
.fcard__img--2 { background: linear-gradient(135deg, #4f9bff, #2b4a78); }
.fcard__desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--medium-gray);
  margin: 26px 0 28px;
}

.new-pay__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.new-pay__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.new-pay__label::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.new-pay__title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.35;
  margin-bottom: 16px;
}
.new-pay__sub {
  font-size: 13px;
  color: var(--c-text-sub);
  margin-bottom: 28px;
  line-height: 1.7;
}
.new-pay__lead {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.new-pay__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--medium-gray);
  margin-bottom: 24px;
}
.new-pay__subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
  margin-top: 20px;
}
.new-pay__list {
  list-style: none;
  padding: 0;
  margin-bottom: 4px;
}
.new-pay__list li {
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.9;
  padding-left: 1.2em;
  position: relative;
}
.new-pay__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--c-orange);
}
.new-pay__img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(22, 34, 58, .14);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.new-pay__img-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(22, 34, 58, .2);
}
.new-pay__img {
  width: 100%;
  height: auto;
  display: block;
}

.salary { padding-top: 40px; }
.salary__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--c-navy);
  margin: 8px 0 20px;
}
.salary__desc {
  font-size: 15px;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 48px;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.salary-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 540px;
}
.salary-table th {
  padding: 18px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--c-ink);
  border-bottom: none;
  white-space: nowrap;
}
.salary-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-line);
  transition: background .25s;
}
.salary-table tbody tr:nth-child(even) td { background: #fafbfd; }
.salary-table tbody tr:last-child td { border-bottom: none; }
.salary-table tbody tr:hover td { background: #fff6f1; }
.salary-table td:last-child {
  font-family: 'Outfit', "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--c-orange);
}

.message {
  background:
    radial-gradient(900px 500px at 82% 15%, rgba(255, 140, 58, .16), transparent 60%),
    radial-gradient(700px 500px at 8% 90%, rgba(255, 107, 53, .1), transparent 55%),
    var(--c-bg-alt);
  color: var(--c-text);
}
.message__inner { text-align: left; }
.message__lead {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .04em;
  margin-top: 16px;
}
.message__body {
  margin-top: 28px;
  color: var(--c-text-sub);
  font-size: 17px;
  max-width: 720px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.member-carousel__controls,
.member-carousel__footer,
.member-carousel__status { display: none; }

.member-card {
  /* cairn-style.css の .member-card は opacity:0（.fade-in で表示）だが、
     TOPページは .member-card 単位で .reveal 演出するため打ち消す */
  opacity: 1;
  transform: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  /* cairn-style.css の影を打ち消し、TOPの他カードと同じ「線＋hoverで影」に揃える */
  box-shadow: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 53, .35);
}
.member-card__avatar {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 40px;
  font-weight: 900;
  background-image: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .16));
}
.member-card__photo {
  aspect-ratio: 4 / 5;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--c-bg-alt);
  padding: 18px;
}
.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform .5s var(--ease-out);
}
.member-card:hover .member-card__photo img { transform: scale(1.05); }

.member-card__body { padding: 18px 18px 22px; }
.member-card__dept { font-size: 12px; color: var(--c-orange); font-weight: 700; letter-spacing: .05em; }
.member-card__name { font-size: 18px; font-weight: 700; margin: 4px 0 10px; }
.member-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(255, 107, 53, .1);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.member-card__text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-text-sub);
}
.member-card__row { font-size: 13px; color: var(--c-text-sub); }
.member-card__row b { color: var(--c-text); font-weight: 700; }

.company-overview {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 0;
  background: #1b2238;
}
.company-overview__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.company-overview__bg svg { display: block; width: 100%; height: 100%; }
.company-overview__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 26, 44, .92) 0%, rgba(20, 26, 44, .55) 32%, rgba(20, 26, 44, .15) 50%),
    linear-gradient(270deg, rgba(20, 26, 44, .85) 0%, rgba(20, 26, 44, .2) 38%, transparent 60%);
}
.company-overview__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.company-overview__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.company-overview__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-orange);
}
.company-overview__label::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.company-overview__statement {
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 36px;
}
.company-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.company-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 6px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.company-links li:last-child .company-link { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.company-link__text { font-size: 19px; font-weight: 600; letter-spacing: .03em; }
.company-link__arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  font-size: 24px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.company-link:hover { padding-left: 14px; color: var(--secondary-orange); }
.company-link:hover .company-link__arrow {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
  transform: translateX(4px);
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.link-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 28px 58px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.link-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 53, .3);
}
.link-card:hover::before { transform: scaleX(1); }
.link-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.link-card p { font-size: 14px; color: var(--c-text-sub); }
.link-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  transition: transform .3s var(--ease);
}
.link-card:hover .link-card__arrow { transform: translateX(4px) rotate(-45deg); }

.biz-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.biz-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 300px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 50px rgba(22, 34, 58, .18);
  isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.biz-banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(22, 34, 58, .26);
}

.biz-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .8s var(--ease-out);
}
.biz-banner:hover::before { transform: scale(1.04); }
.biz-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.biz-banner--ses::before {
  background:
    radial-gradient(120% 140% at 82% 25%, #7b8197 0%, #4a5570 42%, #232c47 100%);
}
.biz-banner--ses::after {
  background: linear-gradient(90deg, rgba(28, 35, 58, .96) 0%, rgba(28, 35, 58, .8) 38%, rgba(40, 48, 78, .35) 70%, rgba(70, 60, 90, .25) 100%);
}
.biz-banner--recruit::before {
  background: linear-gradient(120deg, #2a2740 0%, #3a2f4e 55%, #4a2f44 100%);
}
.biz-banner--recruit::after {
  background:
    radial-gradient(circle at 72% 70%, rgba(229, 64, 64, .55) 0 16px, transparent 17px),
    radial-gradient(circle at 88% 40%, rgba(229, 64, 64, .4) 0 9px, transparent 10px),
    radial-gradient(circle at 62% 30%, rgba(229, 64, 64, .3) 0 6px, transparent 7px),
    radial-gradient(circle at 92% 82%, rgba(229, 64, 64, .35) 0 12px, transparent 13px),
    linear-gradient(90deg, rgba(30, 28, 48, .95) 0%, rgba(30, 28, 48, .75) 40%, rgba(40, 32, 60, .4) 72%, transparent 100%);
}
.biz-banner__body {
  position: relative;
  z-index: 1;
  padding: 56px clamp(28px, 5vw, 72px);
  color: #fff;
  max-width: 640px;
}
.biz-banner__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.biz-banner__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 18px;
}
.biz-banner__desc {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
}
.biz-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border: 1.5px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.biz-banner__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  font-size: 18px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.biz-banner__btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.biz-banner__btn:hover .biz-banner__arrow { background: var(--c-orange); transform: translateX(3px); }

.news-list {
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--c-line);
  flex-wrap: wrap;
  transition: background .3s, padding-left .3s var(--ease);
}
.news-item:hover { background: #fff8f4; padding-left: 34px; }
.news-item:last-child { border-bottom: none; }
.news-item time {
  font-family: 'Outfit', "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--c-text-sub);
  font-size: 14px;
  white-space: nowrap;
}
.news-item a { flex: 1 1 300px; transition: color .2s; }
.news-item a:hover { color: var(--c-orange); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  white-space: nowrap;
}
.tag--blog { background: var(--grad-soft); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 53, .3);
}
.blog-card__thumb { height: 170px; transition: transform .6s var(--ease-out); }
.blog-card:hover .blog-card__thumb { transform: scale(1.06); }
.blog-card__thumb--1 { background: linear-gradient(135deg, #1f6feb, #22c1c3); }
.blog-card__thumb--2 { background: linear-gradient(135deg, #6a5cff, #1f6feb); }
.blog-card__thumb--3 { background: linear-gradient(135deg, #22c1c3, #2bd4a8); }
.blog-card__thumb--4 { background: linear-gradient(135deg, #ff8a5c, #ff5c87); }
.blog-card__thumb--5 { background: linear-gradient(135deg, #1f6feb, #6a5cff); }
.blog-card__thumb--6 { background: linear-gradient(135deg, #2bd4a8, #1f6feb); }
.blog-card__body { padding: 20px 22px 26px; position: relative; background: #fff; }
.blog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-card__meta time { font-size: 13px; color: var(--c-text-sub); }
.blog-card__body h3 { font-size: 17px; font-weight: 700; line-height: 1.6; transition: color .25s; }
.blog-card:hover .blog-card__body h3 { color: var(--c-orange); }

.sim-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.sim-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .35s var(--ease);
}
.sim-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, .62);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.sim-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  border-radius: 28px;
  padding: 32px 40px 36px;
  color: #fff;
  background:
    radial-gradient(1000px 600px at 12% 8%, rgba(31, 111, 235, .16), transparent 55%),
    radial-gradient(800px 500px at 90% 90%, rgba(255, 107, 53, .12), transparent 55%),
    var(--c-ink);
  box-shadow: 0 40px 90px rgba(11, 17, 32, .5);
  transform: translateY(24px) scale(.97);
  transition: transform .35s var(--ease-out);
}
.sim-modal.is-open .sim-modal__dialog { transform: translateY(0) scale(1); }

.sim-modal .section__head { margin-bottom: 20px; }
.sim-modal .section__title { font-size: clamp(22px, 2.6vw, 30px); }
.sim-modal .section__desc { margin-top: 8px; font-size: 14px; }
.sim-modal .sim { padding: 28px; gap: 28px; }
.sim-modal .sim__form { gap: 18px; }
.sim-modal .sim__field label { font-size: 14px; }
.sim-modal .sim__field select { padding: 11px 40px 11px 14px; font-size: 14px; }
.sim-modal .sim__result { padding: 26px 22px; }
.sim-modal .sim__result-value { font-size: clamp(38px, 5vw, 52px); }
.sim-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .25s, transform .3s var(--ease-out);
}
.sim-modal__close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }
body.is-modal-open { overflow: hidden; }

.line-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.line-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .35s var(--ease);
}
.line-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, .62);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.line-modal__dialog {
  position: relative;
  width: min(400px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  border-radius: 28px;
  padding: 40px 32px 36px;
  text-align: center;
  color: var(--c-ink);
  background: #fff;
  box-shadow: 0 40px 90px rgba(11, 17, 32, .5);
  transform: translateY(24px) scale(.97);
  transition: transform .35s var(--ease-out);
}
.line-modal.is-open .line-modal__dialog { transform: translateY(0) scale(1); }
.line-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(11, 17, 32, .12);
  border-radius: 50%;
  background: rgba(11, 17, 32, .04);
  color: var(--c-ink);
  cursor: pointer;
  transition: background .25s, transform .3s var(--ease-out);
}
.line-modal__close:hover { background: rgba(11, 17, 32, .08); transform: rotate(90deg); }
.line-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: .02em;
  color: #06C755;
  margin-bottom: 20px;
}
.line-modal__qr {
  width: 220px;
  margin: 0 auto 24px;
  padding: 16px;
  border: 1px solid rgba(11, 17, 32, .08);
  border-radius: 16px;
}
.line-modal__qr img { display: block; width: 100%; height: auto; }
.line-modal__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.line-modal__desc { font-size: 14px; line-height: 1.7; color: var(--c-text-sub); }
.sim {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 44px;
  backdrop-filter: blur(8px);
}
.sim__form { display: grid; gap: 26px; }
.sim__field { display: grid; gap: 10px; }
.sim__field label { font-weight: 700; font-size: 15px; }
.sim__field select,
.sim__field input[type="range"] { width: 100%; }
.sim__field select {
  appearance: none;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6b82' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--c-navy);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 40px 13px 16px;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow .25s;
}
.sim__field select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .5);
}
.sim__field input[type="range"] { accent-color: var(--c-orange); cursor: pointer; }
.sim__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--grad-soft);
  border-radius: 20px;
  padding: 40px 28px;
  box-shadow: 0 20px 60px rgba(255, 107, 53, .3);
}
.sim__result-label { font-size: 15px; letter-spacing: .1em; opacity: .9; }
.sim__result-value {
  font-family: 'Outfit', "Noto Sans JP", sans-serif;
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  margin: 8px 0;
}
.sim__result-value small { font-size: .35em; margin-left: 6px; }
.sim__result-range { font-size: 14px; opacity: .92; }

.cta { background: var(--c-bg-alt); }
.cta__card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(22, 34, 58, .1);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
}

.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: var(--grad-soft);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
.cta__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--dark-gray);
}
.cta__desc { margin: 24px 0 40px; font-size: 15px; line-height: 1.9; color: var(--medium-gray); }
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 300px;
  padding: 16px 16px 16px 36px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), filter .3s var(--ease);
}
.cta-btn:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(0, 0, 0, .2); filter: brightness(1.04); }
.cta-btn--orange { background: linear-gradient(135deg, #f0a24b, #e88a2e); }
.cta-btn--green { background: linear-gradient(135deg, #5cb85c, #3f9d4a); }
.cta-btn__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  font-size: 20px;
  transition: transform .3s var(--ease);
}
.cta-btn:hover .cta-btn__arrow { transform: translateX(4px); }

.media {
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(135deg, #de6c43 0%, #ff8f5f 55%, #c66242 100%);
  color: #fff;
}

.sns-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.sns-head__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}
.sns-head__sub { font-size: 14px; color: rgba(255, 255, 255, .85); }

.sns-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px 32px;
  flex-wrap: wrap;
}
.sns-account {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: transform .3s var(--ease-out), opacity .25s var(--ease), background .25s var(--ease);
}
.sns-account:hover { opacity: .9; transform: translateY(-3px); }
.sns-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.sns-icon .material-icons { font-size: 24px; }
.sns-icon--x { background: #000; font-size: 18px; }
.sns-icon--ig { background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%); }

.sns-account--large {
  padding: 16px 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  font-size: 17px;
  font-weight: 700;
}
.sns-account--large:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-4px);
}
.sns-account--large .sns-icon { width: 46px; height: 46px; }
.sns-account--large .sns-icon .material-icons { font-size: 26px; }
.sns-account__arrow {
  font-size: 18px;
  transition: transform .25s var(--ease-out);
}
.sns-account--large:hover .sns-account__arrow { transform: translateX(4px); }

.sim-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(11, 17, 32, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), box-shadow .3s var(--ease);
}
.sim-fab.is-shown {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sim-fab.is-shown:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11, 17, 32, .45); }
.sim-fab__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-soft);
  flex: 0 0 auto;
}
.sim-fab__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 53, .7);
  animation: fabPulse 2.4s ease-out infinite;
}
.sim-fab__txt { display: flex; flex-direction: column; line-height: 1.3; }
.sim-fab__txt small { font-size: 10px; opacity: .8; }
.sim-fab__txt strong { font-size: 15px; font-weight: 700; letter-spacing: .03em; }

/* =========================================================
   Scroll reveal（JSが .reveal を付与、--reveal-delay で時差）
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroRise {
  to { transform: translateY(0); }
}
@keyframes gradShift {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}
@keyframes dashFlow {
  to { stroke-dashoffset: -1400; }
}
@keyframes dashFlowRev {
  to { stroke-dashoffset: 1400; }
}
@keyframes blobFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(40px, 30px, 0) scale(1.08); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}
@keyframes pulseSoft {
  0%, 100% { opacity: .7; }
  50%      { opacity: 1; }
}
@keyframes scrollDrop {
  0%        { top: -40%; }
  65%, 100% { top: 110%; }
}
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge,
  .hero__lead,
  .hero__actions,
  .hero__stats,
  .hero__scroll,
  .hero__blob,
  .hero__badge-dot,
  .hero__scroll-line::after,
  .hero__rings circle,
  .hero__em,
  .grad-text,
  .sim-fab__icon::after { animation: none; }
  .hero__line-in { animation: none; transform: none; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { min-height: 0; padding: 150px 0 110px; }
  .about-row { grid-template-columns: 1fr; gap: 28px; }
  .about-row__img { order: -1; }
  .about-row__desc { max-width: none; }
  .fcard-grid { grid-template-columns: 1fr; gap: 48px; }
  .new-pay__inner { grid-template-columns: 1fr; gap: 40px; }
  .member-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .sim { grid-template-columns: 1fr; padding: 32px; }
  .sim-modal__dialog { padding: 36px 28px; }
  .line-modal__dialog { padding: 36px 24px; }
  .company-overview__inner { grid-template-columns: 1fr; gap: 36px; }
  .company-overview__scrim {
    background: linear-gradient(180deg, rgba(20, 26, 44, .78) 0%, rgba(20, 26, 44, .6) 100%);
  }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  /* 狭い幅では固定改行を外し、中央揃えの行がガタつかないようにする */
  .vision__body br { display: none; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 36px; }
  .link-card-grid,
  .member-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .biz-banner { min-height: 0; }
  .biz-banner__body { padding: 40px 24px; }
  .biz-banner--ses::after,
  .biz-banner--recruit::after {
    background: linear-gradient(180deg, rgba(28, 35, 58, .55), rgba(28, 35, 58, .92));
  }
  .biz-banner--recruit::after {
    background:
      radial-gradient(circle at 80% 80%, rgba(229, 64, 64, .4) 0 14px, transparent 15px),
      linear-gradient(180deg, rgba(30, 28, 48, .55), rgba(30, 28, 48, .92));
  }
  .cta__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .cta-btn { min-width: 0; width: 100%; }
  .hero { padding: 120px 0 88px; }
  .hero__br-sp { display: inline; }
  .hero__stats { gap: 20px; margin-top: 44px; }
  .hero__stats li + li { padding-left: 20px; }
  .hero__blob--1 { width: 340px; height: 340px; filter: blur(70px); }
  .hero__blob--2 { width: 300px; height: 300px; filter: blur(70px); }
  .news-item { gap: 8px 14px; }
  .news-item:hover { padding-left: 28px; }
  .sim { padding: 24px; }
  .sim-modal { padding: 12px; }
  .sim-modal__dialog { padding: 32px 20px; border-radius: 20px; }
  .sim-modal__close { top: 12px; right: 12px; }
  .line-modal { padding: 12px; }
  .line-modal__dialog { padding: 32px 20px; border-radius: 20px; }
  .line-modal__close { top: 12px; right: 12px; }
  .line-modal__qr { width: 180px; }
  .photo { width: 300px; height: 210px; margin-right: 18px; border-radius: 16px; }
  .photo-marquee { padding: 12px 0 48px; }
}

/* =========================================================
   スマートフォンではフローティングバナーを表示しない
   （Instagram・募集要項の非表示は css/header.css 側で指定）
   フローティングバナーの表示はスマートフォン幅（768px以下）で切り替える
   ========================================================= */
@media (max-width: 768px) {
  .sim-fab,
  .sim-modal {
    display: none;
  }
}

/* 社員紹介：スマートフォンのみ、左右のカードが見える横スライダー */
@media (max-width: 768px) {
  .member-carousel {
    --member-slide-width: min(74vw, 420px);
    position: relative;
    width: calc(100% + 48px);
    margin-inline: -24px;
  }
  .member-carousel .member-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: var(--member-slide-width);
    gap: 24px;
    padding-inline: calc((100% - var(--member-slide-width)) / 2);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .member-carousel .member-grid::-webkit-scrollbar { display: none; }
  .member-carousel .member-grid:focus-visible {
    outline: 2px solid var(--c-navy);
    outline-offset: -2px;
  }
  .member-carousel .member-card {
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .member-carousel .member-card__photo {
    aspect-ratio: 4 / 3;
    padding: 0;
    border-radius: 20px;
  }
  .member-carousel .member-card__photo img {
    border-radius: 20px;
    transform: none;
  }
  .member-carousel .member-card__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 16px 0 0;
  }
  .member-carousel .member-card__name {
    order: -2;
    font-size: 21px;
    margin: 0;
  }
  .member-carousel .member-card__dept {
    order: -1;
    padding: 1px 9px;
    border: 1px solid var(--c-text);
    border-radius: 4px;
    color: var(--c-text);
    background: #fff;
  }
  .member-carousel .member-card__tag { margin: 0; }
  .member-carousel .member-card__text { flex-basis: 100%; font-size: 14px; }
  .member-carousel__controls:not([hidden]) { display: block; }
  .member-carousel__arrow {
    position: absolute;
    top: calc(var(--member-slide-width) * 3 / 8);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #1e2925;
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .member-carousel__arrow--prev { left: 10px; }
  .member-carousel__arrow--next { right: 10px; }
  .member-carousel__arrow:focus-visible,
  .member-carousel__autoplay:focus-visible {
    outline: 3px solid var(--c-orange);
    outline-offset: 3px;
  }
  .member-carousel__footer:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
  }
  .member-carousel__status {
    display: block;
    text-align: center;
    color: var(--c-text-sub);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    letter-spacing: .16em;
  }
  .member-carousel__autoplay {
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    color: var(--c-text);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
  }
  .members .center { margin-top: 28px; }
  .members .about-row__btn {
    justify-content: space-between;
    width: min(100%, 340px);
    padding-left: 28px;
    background: #fff;
    font-size: 16px;
  }
  .members .about-row__btn:hover { background: var(--dark-gray); }
}
