.company-section {
  position: relative;
  width: 100%;
  padding: 140px 20px;
  color: #fff;
  overflow: hidden;
}

/* 背景画像（セクション内だけ） */
.company-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/office2.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(0.8);
  transition: transform 1.05s ease-out;
}

/* 黒透過 */
.company-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* 中身 */
.company-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.company-title {
  font-size: 52px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #3fa9f5;
  letter-spacing: 0.05em;
}

.company-box {
  background: rgba(255,255,255,0.05);
  padding: 32px;
  border-radius: 10px;
  margin-bottom: 45px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
}

.company-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 4px solid #3fa9f5;
  padding-left: 12px;
}

.company-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-box li {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.8;
}

.company-box p {
  font-size: 18px;
  line-height: 2;
}

/* アニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(.25,.8,.25,1);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .company-title { font-size: 36px; }
  .company-box { padding: 22px; }
  .company-box li, .company-box p { font-size: 16px; }
}



.greeting-section {
  position: relative;
  background: #000;
  color: #fff;
  padding: 140px 20px;
  min-height: 100vh;
  overflow: hidden; /* ← これで背景が絶対に外に出ない */
}

/* ★背景は fixed をやめて absolute にする（セクション内だけに収まる） */
.greeting-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.75;
  transition: opacity 0.6s ease, background-image 0.6s ease;
  z-index: 1;
}

/* テキスト中央配置 */
.greeting-text {
  position: relative;
  z-index: 5;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;

  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(.25,.8,.25,1);
}

.greeting-title {
  font-size: 48px;
  margin-bottom: 30px;
  color: #3fa9f5;
}

.greeting-text p {
  font-size: 18px;
  line-height: 2.1;
  margin-bottom: 30px;
}

.sign {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
}

.show-greeting{
  opacity: 1;
  transform: translate(0, 0);
}

/* スマホ */
@media (max-width: 900px) {
  .greeting-bg {
    width: 100%;
    opacity: 0.35;
    background-position: center;
  }


}

.ceo-greet-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 160px 20px;
  background: #000;
  color: #fff;
  overflow: hidden;
}

/* 背景レイヤー（3枚切替） */
.ceo-greet-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.75;
  transition: background-image 1.2s ease, opacity 0.8s ease;
  z-index: 1;
}

/* 中身 */
.ceo-greet-inner {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;

  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(.25,.8,.25,1);
}

.ceo-greet-title {
  font-size: 48px;
  margin-bottom: 40px;
  color: #3fa9f5;
  text-align: center;
}

.ceo-greet-text {
  font-size: 18px;
  line-height: 2.1;
  margin-bottom: 28px;
}

.ceo-greet-sign {
  margin-top: 50px;
  font-size: 20px;
  font-weight: 600;
  text-align: right;
}

/* フェードイン */
.fade-greet-item.show-greet {
  opacity: 1;
  transform: translateY(0);
}

/* スマホ */
@media (max-width: 900px) {
  .ceo-greet-title { font-size: 34px; }
  .ceo-greet-text { font-size: 16px; }
  .ceo-greet-bg-layer { opacity: 0.35; }
}



/* モバイルバナー */
.cmp-banner--mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: blur(12px);
}

.cmp-banner__phone {
  font-size: 14px;
}

.cmp-banner__btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f7cff, #9b6bff);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

/* セクション全体 */
.cmp-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 16px 80px;
  overflow: hidden;
}

/* 背景拡大用 */
.cmp-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, #1b2340, #05060a 60%);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.1s linear;
  z-index: -2;
}

/* オーバーレイ */
.cmp-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 80% 120%, rgba(79, 124, 255, 0.25), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

/* 中身 */
.cmp-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cmp-title {
  font-size: 28px;
  letter-spacing: 0.18em;
  margin-bottom: 32px;
}

/* カード */
.cmp-card {
  background: rgba(5, 6, 10, 0.86);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.cmp-card__title {
  font-size: 18px;
  margin-bottom: 12px;
}

.cmp-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.cmp-card__text {
  font-size: 14px;
  line-height: 1.9;
}

/* フェードアップアニメーション構造は維持（クラス名だけ変更） */
.cmp-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.cmp-fade.cmp-fade--show {
  opacity: 1;
  transform: translateY(0);
}

/* モバイル調整 */
@media (max-width: 768px) {
  .cmp-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .cmp-card {
    padding: 20px 16px;
  }

  .cmp-title {
    font-size: 22px;
  }
}


.mjl-global-wrapper {
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0.65); /* ← 黒を透過させて背景画像を見せる */
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

/* 全体背景（最背面） */
.mjl-global-bg {
  position: fixed;
  inset: 0;
  background-image: url('../images/office2.png');
  background-size: cover;
  background-position: center;
  transform: scale(1);
  z-index: -9999; /* ← どんな要素よりも後ろ */
  transition: transform 0.2s linear;
  will-change: transform;
}


/* レイヤー構造 */
.mjl-layer {
  padding: 160px 6%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.mjl-layer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
  opacity: 0.4;
}

.mjl-layer-title {
  font-size: 4vw;
  letter-spacing: 0.1em;
}

.mjl-layer h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
}

.mjl-layer-content p {
  font-size: 1.1rem;
  line-height: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}


/* スマホ */
@media (max-width: 768px) {


  .mjl-layer {
  padding: 80px 6%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
}