:root {
  --back: #f1f1ef;
  --red: #ff3502;
  --orange: #FF5900;
  --yellow: #FF7B00;
  --yellow2: #ffa600;
  --black: #4C4239;
  --black2: #4C4239;
  --h2-font: #4C4239;
  --footer: #f8f8f8;
  --white: #fff;
  --gray: #F2F1F0;
  --border: #c0bab581;
  --maru: #ccc;
  --padding-top-bottom: 24rem;
  --sp-pad: 10rem;
  --transition: 0.6s;
  --sp_inner: 5%;
  --in: 70%;
  --font: "outfit", "Noto Sans JP";
  --letter: 0.03em;
  --letter2: 0.05em;
  --radius: 1rem;
  --radius2: 0.5rem;
  --gra: linear-gradient(to right, var(--orange) 0%, var(--yellow2) 100%);
}


/*--------------------------------------------

リセットCSS 

------------------------------------------------*/
a {
  text-decoration: none;
  color: revert;
  color: var(--black);
}

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

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
  border: none;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

a,
ul,
ol {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}


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

input,
button,
textarea,
select {
  font: inherit;
}

html,
body {
  /* 上下の跳ね返り（バウンス）を無効化する */
  overscroll-behavior-y: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

* {
  letter-spacing: var(--letter2);
}

/*--------------------------------------------

ここからCSS 

------------------------------------------------*/
.sp {
  display: none;
}

.pc {
  display: block;
}


html {
  font-size: 62.5%
}

main,
body {
  width: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  letter-spacing: var(--letter2);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  /* 文字の縁を滑らかにする */
  font-feature-settings: "palt";
  /* 文字の幅を自動で詰める（カーニング） */
  color: var(--black);
  position: relative;
  z-index: 100000;
  background: var(--back);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-feature-settings: "palt";
  /* プロポーショナルメトリクスを有効化 */
}

main {
  overflow: clip;
  /* もし古いブラウザも気にするなら以下を併記 */
  display: flow-root;
  background: var(--back);
}

section {
  padding: var(--padding-top-bottom) 0;
}

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

/* -------------------------------------------------------------   */
.title {
  /* 既存の装飾 */
  font-weight: 600;
  color: var(--h2-font);
  font-size: 8rem;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: linear-gradient(to right,
      var(--orange) 0%,
      var(--yellow2) 25%,
      var(--orange) 50%,
      var(--yellow2) 75%,
      var(--orange) 100%);
  background-size: 200% auto;
  /* 背景を横に広げて動く遊びを作る */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* 左から右へ光が走るアニメーション */
  animation: shine-flow 4s linear infinite;
}

@keyframes shine-flow {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: 0% center;
  }
}

.title span {
  display: block;
  font-size: 2rem;
  color: var(--black);
  /* 日本語も同様にマスクをかける */
  background: linear-gradient(to right, var(--black) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.2s ease;
}

/* 実行状態：クラスがついたら色が「左から右へ」流れる */
.title.is-active {
  opacity: 1;
  transform: translateY(0);
  background-position: 0 0;
}

.title.is-active span {
  background-position: 0 0;
}

/* -------------------------------------------------------------   */
p {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 200%;
  letter-spacing: var(--letter2);
  color: var(--black2);
}



.r {
  color: var(--orange);
}

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

/*--------------------------------------------

ボタン

------------------------------------------------*/
/*--------------------------------------------
ボタン：内側から広がるVer.
------------------------------------------------*/
.button-a {
  font-size: 1.6rem;
  letter-spacing: var(--letter2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.6rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0;
}

.button {
  display: inline-block;
  border-radius: 50%;
  width: 6rem;
  height: 6rem;
  position: relative;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

/* --- 【ここを修正】中央から広がるグラデーション背景 --- */
.button-fill {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  /* 中心から円形に広がるグラデーション */
  background: radial-gradient(circle, var(--yellow2) 0%, var(--orange) 100%);
  border-radius: 50%;

  /* 最初は中央に点として隠しておく */
  transform: translate(-50%, -50%) scale(0);

  /* じわっと広がる心地よいイージング */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.button-a:hover .button-fill {
  /* ホバーで元のサイズまで拡大 */
  transform: translate(-50%, -50%) scale(1.05);
  /* 少しだけ大きくして隙間を消す */
}

/* --- 矢印（ホバーで白化＆スライド） --- */
.button::before,
.button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("/images/arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, filter 0.4s ease;
}

.button::after {
  opacity: 0;
  transform: translateX(-40%);
}

.button-a:hover .button::before {
  opacity: 0;
  transform: translateX(100%);
  filter: brightness(0) invert(1);
}

.button-a:hover .button::after {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
  filter: brightness(0) invert(1);
}

/* --- SVG枠線：なぞって入れ替わる動き --- */
.border-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 3;
}

.circle-bg {
  fill: none;
  stroke: #271a10;
  stroke-width: 1.5;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-a:hover .circle-bg {
  stroke-dashoffset: -251.2;
}

.circle-line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-a:hover .circle-line {
  stroke-dashoffset: 0;
}


/*--------------------------------------------











アニメーション











------------------------------------------------*/

/*--------------------------------------------

スクロール促す

------------------------------------------------*/

/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  right: 10%;
  bottom: 10rem;
  writing-mode: vertical-rl;
  z-index: 20;
  font-size: 1.6rem;
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: var(--black);
  top: 0rem;
  content: "";
  height: 100px;
  left: -4rem;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
  z-index: 2;
}

/* 線の背景色 */
.scroll::after {
  background-color: #fff;
  top: 0rem;
  content: "";
  height: 100px;
  left: -4rem;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*--------------------------------------------

画面切り替え

------------------------------------------------*/
/* --- 1. フェードイン（現れるとき） --- */
body {
  opacity: 0;
  filter: blur(4px);
  /* ぼかしを最小限にして、すぐに認識できるように 🌫️ */
  transition: opacity 0.3s ease-out, filter 0.3s ease-out;
  /* 0.5sから0.3sへ短縮 */
}

body.is-page-loaded {
  opacity: 1;
  filter: blur(0);
}

/* --- 2. フェードアウト（消えるとき） --- */
body.is-fading-out {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.2s ease-in, filter 0.2s ease-in;
  /* 0.4sから0.2sへ短縮 */
}


/*--------------------------------------------

タイトルアニメーション

------------------------------------------------*/

/* 子要素：初期状態 */
.js-fade>* {
  opacity: 0;
  visibility: hidden;
  /* 10px〜20pxくらいの控えめな移動が高級感のコツです */
  transform: translateY(15px);

  /* 1.2秒かけてしっとりと動かします */
  transition:
    opacity var(--transition) ease,
    transform var(--transition) cubic-bezier(0.16, 1, 0.3, 1);
}

/* 実行状態：ふわっと定位置に戻る */
.js-fade.is-active>* {
  opacity: 1;
  transform: translateY(0);
  scale: 1;
  visibility: visible;
}



/* --------------------------------------------
オレンジ色の円がたくさん（降り注ぐVer）
------------------------------------------------*/
.bg-particles {
  position: absolute;
  bottom: 10rem;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

@keyframes float-up {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    /* ふわっと現れる */
  }

  70% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-110vh);
    /* ★画面の上端を突き抜けるまで上昇 */
    opacity: 0;
    /* 消える */
  }
}

.particle {
  position: absolute;
  /* 開始位置を画面の上端より少し上に設定 */
  bottom: 20rem;
  border-radius: 50%;
  opacity: 0;
  animation: float-up linear infinite;
}

/*--------------------------------------------

header

------------------------------------------------*/
header {
  position: fixed !important;
  top: 0;
  left: 0%;
  width: 100%;
  height: 8rem;
  z-index: 1000;
  opacity: 1;
  transition: var(--transition);
  visibility: visible;
  /* これを追加！ */
  isolation: isolate;
  mix-blend-mode: normal;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
}


.header_rogo img {
  width: 14rem;
  position: absolute;
  top: 3.6rem;
  left: 10rem;
}

header nav {
  width: 55rem;
  height: 100%;
  position: absolute;
  right: 10rem;
  top: 1rem;
}

nav ul {
  display: flex;
  justify-content: space-between;
  height: 100%;
  margin: 0;
}

header nav ul li a {
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--black);
  transition: var(--transition);
  display: block;
  padding-top: 2.9rem;
  letter-spacing: var(--letter2);
}

header button {
  display: none;
}

/* ドロップダウンメニューの初期状態 */
.dropdown {
  position: absolute;
  top: 100%;
  /* 親メニューのすぐ下に配置 */
  left: -90rem;
  width: 140rem;
  height: 30rem;
  background-color: #fff;
  box-shadow: 0 0px 25px rgba(0, 0, 0, 0.05);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  /* 最初は透明 */
  visibility: hidden;
  /* 最初は存在を消す */
  transform: translateY(10px);
  /* 少し下にずらしておく */
  transition: all 0.3s ease;
  /* 滑らかに表示 */
  z-index: 100;
  list-style: none;
}

.dropdown img {
  margin-bottom: 1rem;
}

/* ホバーしたら表示 */
.has-child:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* 定位置に戻る */
}

/* ドロップダウン内のリンク */
.dropdown li a {
  padding: 1rem 1rem;
  font-size: 1.6rem;
}

/* ホバー中、親の「企業」リンクだけをクリックできないようにする */
.has-child:hover>a {
  pointer-events: none;
  cursor: default;
  /* カーソルも指マークから矢印に戻す */
}

/* 重要：ドロップダウンの中のリンクはクリックできるように戻す */
.dropdown {
  pointer-events: auto;
}

.not {
  font-size: 28rem !important;
}

/*--------------------------------------------

top

------------------------------------------------*/
.top {
  width: 100%;
  height: 95vh;
  position: relative;
  margin: 0;
  padding: 0;
}

.top .sec_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.top h1 {
  position: absolute;
  bottom: 12vh;
  left: 0%;
  width: 100%;
  font-size: 7.2rem;
  text-align: center;
  font-weight: 900;
  line-height: 1.2;
  z-index: 10;
}

.top h1 span {
  display: block;
  font-size: 2rem;
  font-weight: 600;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* 透明度の切り替え速度 */
  transition: opacity 2s ease-in-out;
  z-index: 1;
  /* 初期状態を少しだけ大きくしておくと、ズーム開始がスムーズです */
  transform: scale(1.0);
}

/* 表示された時の設定 */
.slide-img.is-active {
  opacity: 1;
  z-index: 2;
  /* クラスがついた瞬間、10秒かけて拡大し続ける */
  animation: zoom-up 10s linear forwards;
}



/* --- 外枠：位置固定 --- */
.scrolling-text {
  position: absolute;
  bottom: 32rem;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 8;
  pointer-events: none;
}

/* --- 横に並べるためのインナー --- */
.scroll-inner {
  display: flex;
  /* pタグを横に並べる */
  width: fit-content;
  /* 50%（1つ目の文字の終わり）でループさせる */
  animation: scroll-left 60s linear infinite;
  will-change: transform;
}

/* --- 動く文字本体 --- */
.scrolling-text p {
  display: inline-block;
  font-size: 40rem;
  color: #dedede4b;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  /* 文字の後の余白（次の文字との距離） */
  padding-right: 4rem;
  line-height: 1;
}

/* --- 50%移動したら0に戻すことで無限ループ --- */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.scroll {
  position: absolute;
  bottom: 25rem;
}

/* 2. 湧き上がる円のコンテナ */
#fv-container {
  position: absolute;
  inset: 0;
  z-index: 5;
  /* スライダーの上 */
  pointer-events: none;
}

/* JSで生成される画像（enn.png）のアニメーション */
.rising-enn {
  position: absolute;
  bottom: -10%;
  z-index: 5;
  mix-blend-mode: screen;
  animation: enn-rise-fade ease-out infinite;
}

@keyframes enn-rise-fade {
  0% {
    transform: translateY(0) scale(0.3);
    opacity: 0;
  }

  15% {
    opacity: 0.6;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}

/*--------------------------------------------

product

------------------------------------------------*/
.product {
  padding-bottom: 26rem;
  position: relative;
  z-index: 2;
}

.product .sec_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.product::before {
  content: "";
  width: 25rem;
  height: 25rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  position: absolute;
  top: 67rem;
  right: 16rem;
  opacity: 1;
}

.product::after {
  content: "";
  width: 10rem;
  height: 10rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  position: absolute;
  top: 55rem;
  right: 16rem;
  opacity: 1;
}

.product .title {
  margin-bottom: 4rem;
  text-align: left;
}

.product p {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8rem;
}

.product-right {
  width: 50%;
}

.product-right img {
  width: 100%;
}

.product-right .img-box {
  border-radius: var(--radius);
  overflow: hidden;
}



/*--------------------------------------------

img-content

------------------------------------------------*/

.img-content {
  width: 100%;
  height: 50rem;
  position: relative;
}

.img-content-window {
  position: absolute;
  overflow: hidden;
}

.is-left {
  width: 74rem;
  height: 48rem;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: var(--radius);
}


.is-right {
  width: 60rem;
  height: 40rem;
  top: 12vw;
  right: 0;
  z-index: 2;
  border-radius: var(--radius);
}

.js-parallax-single {
  width: 100%;
  height: 100%;
  /* 動きの遊び */
  object-fit: cover;
  position: absolute;
  top: 0%;
  /* 初期位置 */
  left: 0;
  will-change: transform;
}

.img-content img {
  border-radius: var(--radius);
}

/*--------------------------------------------

business

------------------------------------------------*/

.business-sec {
  padding-top: 20rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
}


.page-business::after {
  top: -40rem;
}

.page-business .button {
  display: none;
}

.business-sec .title {
  margin-bottom: 12rem;
}

.business-title-box {
  width: 20rem;
  height: fit-content;
  position: sticky;
  top: 20vh;
  left: 0;
}


.business-contet {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.business-left {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.business-wrap {
  width: calc(100% - 20rem);
  display: grid;
  gap: 8rem;
}

.box-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem 1.6rem;
  padding-left: 12rem;
}

.business-box {
  position: relative;
  height: fit-content;
  transition: var(--transition);
  border-radius: var(--radius2);
}

.business-box .img-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius2);
}

.business-box .img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #ffffff 0%, #ffffff00 50%);
  opacity: 0.8;
  transition: var(--transition);
}

.business-box img {
  transition: var(--transition);
  position: relative;

}

.business-box:hover img {
  scale: 1.1;
}

.business-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  z-index: 5;
  margin-top: 1rem;
}

.business-box .number {
  display: block;
  position: absolute;
  top: -3.5rem;
  left: -0.5rem;
  color: #fff;
  z-index: 5;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  background: var(--yellow2);
  border-radius: 50%;
  padding: 2rem;
}


.business-box.user .number {
  background: var(--orange);
}

.business-box.talent .number {
  background: var(--red);
}

.select-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.select-box h3 .big {
  font-size: 1.8rem;
}


.select-box {
  width: 18rem;
  height: 18rem;
  border-radius: var(--radius2);
  background: #DDD3CA;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 1. 初期状態（非表示・アニメーションの準備） */
.select-box {
  transition: all var(--transition) ease;
  /* パディングや色の変化をゆっくりにする */
}

.select-box.is-active h3 {
  color: #fff;
}

.select-box.is-active.business {
  background: var(--yellow2);
}

.select-box.is-active.talent {
  background: var(--red);
}

.select-box.is-active.user {
  background: var(--orange);
}

.business-sec .button-a {
  position: absolute;
  top: 26rem;
  right: 15%;
}


/*--------------------------------------------

slider

------------------------------------------------*/
.slider-section {
  position: relative;
  z-index: 5;
}

.slider {
  margin: 0 -2rem;
  position: relative;
  overflow-x: hidden;
  z-index: 5;
}


/* 各スライドの間隔を設定 */
.slider .slick-slide {
  margin: 0 2rem;
  /* 左右に2remずつ＝合計4remの余白 */
}

.slider-section img {
  border-radius: var(--radius);
}


/*--------------------------------------------

about

------------------------------------------------*/
.about {
  padding-top: 20rem;
  position: relative;
}

.about::before {
  content: "";
  width: 25rem;
  height: 25rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: 100;
  pointer-events: none;
  position: absolute;
  top: 67rem;
  left: 16rem;
  opacity: 1;
}

.about::after {
  content: "";
  width: 10rem;
  height: 10rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: 100;
  pointer-events: none;
  position: absolute;
  top: 55rem;
  left: 16rem;
  opacity: 1;
}

.about-wrap {
  gap: 0;
}

.about-box {
  padding: 5.4rem 2rem 4rem;
  padding-left: 4rem;
  border-top: 1px solid var(--border);
  transition: all var(--transition) cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.about-box:last-of-type {
  border-bottom: 1px solid var(--border);
}

.about-box h3 {
  position: relative;
  transition: var(--transition);
  font-size: 7.2rem;
  text-align: left;
}

.about-box h3 span {
  position: relative;
  transition: var(--transition);
  font-size: 1.6rem;
}


.about-box:hover h3 span {
  padding-left: 3.4rem;
}

.about-box h3 span::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: 0.6rem;
  width: 2rem;
  height: 2rem;
  background: url("../images/enn.png");
  background-size: cover;
  opacity: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: var(--transition);
}

.about-box:hover h3 span::after {
  opacity: 1;
}

/* 親：ここに「常時表示の土台」を直接仕込みます */
.about-title-box {
  width: 50%;
  height: 65rem;
  position: relative;
  overflow: hidden;
  /* ★ここが土台！about-1.jpgを背景として固定 */
  background-image: url('../images/about-1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 5;
  border-radius: var(--radius);
}


.about .img-box {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  /* 土台背景より上に配置 */
}

/* ホバーで重なる画像たちの共通設定 */
.about-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;

  /* スッという動きを保証 */
  opacity: 0;
  filter: grayscale(80%) contrast(1.1);
  transform: scale(1.1);
  /* transitionの秒数を少し長め（1.0s）にすると高級感が出ます */
  transition:
    opacity 0.6s ease,
    filter 0.7s ease,
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  pointer-events: none;
  /* 画像がマウスイベントを邪魔しないようにする */
}

/* 各画像のパス指定 */
.about-1 {
  background-image: url('../images/about.jpg');
}

.about-2 {
  background-image: url('../images/about-2.jpg');
}

.about-3 {
  background-image: url('../images/about-3.jpg');
}

/* ★JSでクラスがついた時：ここで「スッ」と表示させる */
.about-img.is-active {
  opacity: 1 !important;
  filter: grayscale(0%) contrast(1);
  transform: scale(1);
}

.about-wrap {
  width: calc(50% - 8rem);
}

.about .sec_inner {
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
}

.about .number {
  position: absolute;
  top: calc(50% + 1.4rem);
  transform: translateY(-50%);
  left: -4rem;
}




/*--------------------------------------------

group

------------------------------------------------*/
.group {
  padding-top: 5rem;
  padding-bottom: 25rem;
  position: relative;
  z-index: 2;
}

.group::after {
  content: "";
  width: 60rem;
  height: 60rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  position: absolute;
  bottom: -30rem;
  left: -30rem;
  opacity: 1;
}



.group .title {
  margin-bottom: 8rem;
  text-align: left;
}

.group .sec_inner {
  display: flex;
  justify-content: space-between;
}

.group-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 2rem;
  width: calc(100% - 36rem);
}

.group-box p {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.group-box img {
  border-radius: var(--radius2);
}

.group-left {
  width: 36rem;
}

.parallax-window {
  width: 100%;
  height: 80vh;
  /* もしvhを使いたいならこちら */
  overflow: hidden;
  position: relative;
  background-color: var(--back);
  /* 画像が出ないときにグレーが見えるようにする（デバッグ用） */
}

.parallax-img {
  width: 100%;
  height: 130%;
  /* JSで動かすために「表示領域より長く」しておくのが必須 */
  object-fit: cover;
  position: absolute;
  top: 0%;
  /* 最初に少し上にずらしておくことで、下に動く余裕を作る */
  left: 0;
  display: block;
  /* 消えないように明示 */
  z-index: 5;
}


/*--------------------------------------------

News

------------------------------------------------*/
.news {
  padding-bottom: 18rem;
  position: relative;
  z-index: 2;
}

.news::after {
  content: "";
  width: 60rem;
  height: 60rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  position: absolute;
  bottom: -22rem;
  left: -25rem;
  opacity: 1;
}

.news::before {
  content: "";
  width: 40rem;
  height: 40rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  position: absolute;
  top: -20rem;
  right: -20rem;
  opacity: 1;
}

.news .sec_inner {
  display: flex;
  justify-content: space-between;
}

.news .title {
  margin-bottom: 8rem;
  text-align: left;
}

.news-right {
  width: calc(100% - 48rem);
}

.news-left {
  width: 48rem;
}

.news-right {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid var(--border);
  margin-left: 8rem;
}

.news-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4.8rem 4rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
  transition: var(--transition);
  position: relative;
}

.news-box h3 {
  transition: var(--transition);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* ここで表示行数を指定 */
  overflow: hidden;
}

.news-box:hover h3 {
  opacity: 0.4;
}

.news-box-right {
  width: calc(100% - 8rem);
}

.news-box .button {
  border: none;
}

.news-box h3 {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 2;
}

.news-box-small {
  margin-bottom: 1.6rem;
}

.news-box .cate,
.news-content .cate {
  display: inline-block;
  background: var(--black2);
  border-radius: 4rem;
  margin-left: 1rem;
  padding: 0.02em 2em;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
}




/*--------------------------------------------

corporate

------------------------------------------------*/
.corporate {
  padding: 0;
  position: relative;
  z-index: 2;
}

.corporate-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.corporate-box {
  display: block;
  position: relative;
  transition: var(--transition);
  border-radius: var(--radius);
  overflow: hidden;
}

.corporate-box:hover::after {
  background: #3b15004d;
}

.corporate-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #3b1500;
  opacity: 0.8;
  transition: var(--transition);
}

.corporate-box h3 {
  font-size: 1.6rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  text-align: center;
  width: 100%;
  z-index: 5;
}

.corporate-box h3 .big {
  display: block;
  font-size: 2.8rem;
}

.arrow-white {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 5;
}

/* 1. 外枠（SVG）の線を白く上書き */
.button.arrow-white .circle-bg,
.button.arrow-white .circle-line,
.footer-center-box-right .circle-bg,
.footer-center-box-right .circle-line {
  stroke: #ffffff00 !important;
}

/* 2. 背景画像を白く反転させる（画像ファイルを分けなくても白くなります） */
.button.arrow-white::before,
.button.arrow-white::after,
.footer-center-box-right::after,
.footer-center-box-right::before {
  filter: brightness(0) invert(1);
}


/*--------------------------------------------

Recruit

------------------------------------------------*/
.slider3 {
  margin-top: -0.5rem;
}

.slider2 {
  position: relative;
  z-index: 5;
}

.recruit {
  position: relative;
  z-index: 5;
  padding-bottom: 10rem;
}

.recruit .button::before {
  background-image: url("/images/arrow-yellow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem;
}

.recruit .sec_inner {
  position: relative;
  z-index: 10;
  display: block;
  border-radius: var(--radius);
}

.recruit .title span {
  margin-bottom: 0rem;
}


.recruit .button {
  position: absolute;
  top: 8rem;
  right: 0rem;
}

.recruit p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
}

.recruit-bottom-wrap {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12rem;
  margin-top: 8rem;
  padding-top: 8rem;
  position: relative;
  z-index: 4;
  border-top: 1px solid #fff;
}

.recruit-box {
  display: block;
  width: 100%;
  position: relative;
}

.recruit-box .button {
  position: absolute;
  top: 5.5rem;
  right: 0rem;
}

.recruit--box .button {
  background: #fff;
}

.recruit--box .circle-bg {
  stroke: #fff;
}

.recruit-box .title {
  margin-bottom: -2rem;
}

.recruit-box .title span {
  margin-bottom: 1rem;
}

.recruit-bottom-wrap p {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.recruit-bottom-wrap .title span {
  margin-bottom: 0.4rem;
}

.recruit--box {
  background: url("../images/rec-back.jpg");
  background-size: cover;
  width: 90%;
  margin: 0 auto;
  margin-top: -20rem;
  position: relative;
  z-index: 5;
  border-radius: 8rem;
  padding: 15rem 10%;
}

.recruit--box .sec_inner {
  width: 100%;
}

.recruit--box h2,
.recruit--box h3,
.recruit--box h2 span,
.recruit--box h3 span {
  text-align: left;
  color: #fff;
}

.recruit--box h2 span,
.recruit--box h3 span {
  background: none;
  -webkit-text-fill-color: initial;
  transition: background-position 1.2s ease;
}

.recruit-bottom-wrap .border {
  position: relative;
}

.recruit-bottom-wrap .border::after {
  content: "";
  background: #fff;
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  right: -6.6rem;
}

/*--------------------------------------------

footer

------------------------------------------------*/
footer {
  background: var(--back);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

footer::after {
  content: "";
  background: url("../images/enn.png");
  background-size: cover;
  width: 40rem;
  height: 40rem;
  position: absolute;
  bottom: -20rem;
  right: -20rem;
}

.footer {
  position: relative;
  z-index: 5;
  padding-top: 2rem;
  padding-bottom: 8rem;
}

.footer-nav {
  width: 70rem;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 6.4rem;
  padding-left: 0;
}

.footer-nav ul li {
  width: 100%;
}

.footer-nav ul li a {
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  display: block;
  border-bottom: 1px solid var(--border);
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: var(--transition);
}

.footer-nav ul li a .button {
  scale: 0.7;
  position: absolute;
  top: -1rem;
  right: 0;
  border-color: var(--border);
}

.footer-nav ul li a .circle-bg {
  display: none;
}

.footer-nav ul li a:hover {
  border: none;
}

.footer-center-box {
  display: flex;
  justify-content: space-between;
}

.footer-center-box-right {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 27rem;
}

.footer-center-box-right .big {
  font-size: 4rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.footer-center-box-right a {
  display: inline-block;
  width: 100%;
  position: relative;
}

.footer-center-box-right .button {
  display: inline-block;
  width: 6.4rem;
  height: 6.4rem;
  margin-bottom: -2rem;
  right: 0rem;
}

.footer-center-box-right a {
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 10rem;
  padding-top: 4rem;
  display: flex;
  justify-content: space-between;
}

.footer-bottom img {
  width: 16rem;
}

.footer-bottom p {
  font-size: 1.2rem;
}

#open-incognito-widget {
  display: none;
}

.footer-center-box-right .button {
  transform: translateY(-0.4rem);
}



/*--------------------------------------------







page-top







------------------------------------------------*/
.page {
  padding-top: 0;
}

.page-top {
  position: relative;
  padding-bottom: 20rem;
  z-index: 5;
}

.page-top .title {
  font-size: 12rem;
}

.page-top-img {
  margin-top: 18rem;
}

.page-top::after {
  /* content: ""; */
  position: absolute;
  top: 25rem;
  right: -20rem;
  width: 60rem;
  height: 60rem;
  background: var(--yellow2);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: var(--transition);
}

/*----------------パンクず-----------------*/
.breadcrumb-container {
  padding: 2rem 0;
  position: relative;
  z-index: 10;
  /* 左右に10vwの余白を空けたい場合はここに追加 */
  /* padding-left: 10vw; */
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

/* 区切り線の設定（最後の要素以外に付ける） */
.breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin: 0 1.5rem;
  color: #ccc;
  font-family: sans-serif;
  /* スラッシュは標準フォントが綺麗 */
  font-weight: 100;
}

.breadcrumb-item a {
  text-decoration: none;
  color: var(--black2);
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--orange);
  /* ホバー時に赤くする */
}

/* 現在地のスタイル */
.breadcrumb-item[aria-current="page"] {
  color: #333;
  font-weight: bold;
}

.page-top-img-box {
  width: 100%;
  height: 55rem;
  /* 任意の高さ */
  overflow: hidden;
  /* 動いてはみ出した部分を隠す */
  position: relative;
}

.page-top-img.js-parallax-single {
  width: 100%;
  height: 110%;
  /* ★重要：動くための余白（1.3倍程度） */
  object-fit: cover;
  position: absolute;
  top: -15%;
  /* ★重要：初期位置を少し上にずらして中央を合わせる */
  left: 0;
  will-change: transform;
  /* ブラウザの描画を最適化 */
}

/*--------------------------------------------

ページネーション

------------------------------------------------*/
/* 中央寄せのコンテナ */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  width: 100%;
  margin-top: 12rem;
  /* 上下の余白 */
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  /* 数字同士のスキマ */
  list-style: none;
  padding: 0;
}

.pagination-item {
  display: flex;
  align-items: center;
}

/* 数字・記号のリンク */
.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  /* 40px相当 */
  height: 2.5rem;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  color: var(--black2);
  /* 基本はblack2 */
  transition: color var(--transition), border-color var(--transition);
  border-bottom: 2px solid transparent;
  /* ホバー時に線を出すための準備 */
}

/* ホバー時：文字色をblackにする */
.pagination-link:hover {
  color: var(--red);
}

/* 現在のページ：文字色をblackにし、下に差し色の赤を入れる（アクセント） */
.pagination-link.is-current {
  color: var(--black);
}


/* 省略記号（…）のスタイル */
.pagination-ellipsis {
  color: var(--black2);
  padding: 0 0.5rem;
}

/*--------------------------------------------


page-news


------------------------------------------------*/

.page-news {
  padding-top: 0;
}

.page-news.news::before {
  top: -40rem;
}

.page-news.news::after {
  display: none;
}

.page-news .news-right {
  width: 100%;
  margin: 0;
}

.page-news .sec_inner {
  flex-wrap: wrap;
}

/* カテゴリーボタンの配置 */
.news-filter {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  height: fit-content;
  justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.page-news .filter-btn {
  display: inline-block;
  background: none;
  border: 1px solid var(--black);
  border-radius: 4rem;
  padding: 0.8rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: 0.3s;
  width: 13rem;
  height: fit-content;
}

.page-news .filter-btn.active {
  background: var(--black2);
  color: #fff;
}

/* 記事の初期状態（非表示） */
.page-news .news-box {
  display: none;
  /* JSで制御 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 4.8rem 16rem;
}

/* 表示される時のアニメーション用クラス */
.page-news .news-box.is-show {
  display: flex;
  /* 既存のデザインを維持 */
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------


page-contacts


------------------------------------------------*/
.page-contacts {
  padding-top: 0;
}

.contacts-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2.4rem;
}

.contacts-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.contacts-box:hover::after {
  background: #3b150052;
}

.contacts-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #3b1500;
  opacity: 0.8;
  transition: var(--transition);
}

.contacts-box h2 {
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/*--------------------------------------------

single-contact

------------------------------------------------*/
.contact-top {
  padding-bottom: 4rem;
}

.contact-top h1 {
  text-align: center;
  font-size: 8rem;
  line-height: 1.4;
}

.contact-top h1 span {
  display: block;
  font-size: 2.4rem;
}

.single-contact {
  padding-top: 0;
  padding-bottom: 20rem;
}

.single-contact h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12rem;
  line-height: 1.85;
  font-weight: 500;
}

.contact-top .breadcrumb_inner {
  padding-bottom: 0rem;
}

.contact-top .common-inner {
  border: none;
}

.single-contact .sec_inner {
  max-width: 1000px;
}

.single-contact_wrap {
  margin-top: 8rem;
}

.single-contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  margin-bottom: 4rem;
}

.textarea-box {
  align-items: normal;
  align-content: normal;
}

input,
textarea {
  border: none;
  background: #fff;
  border-radius: var(--radius2);
  padding: 1.2em 2em;
  font-size: 1.6rem;
  width: calc(100% - 26rem);
}

textarea {
  height: 26rem;
}

label {
  font-size: 1.6rem;
  font-weight: bold;
  width: 26rem;
}

.required {
  background: var(--orange);
  width: 0.8rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: inline-block;
  margin-left: 0.6rem;
  transform: translateY(-1rem);
}

.single-contact .small {
  color: var(--black2);
  font-weight: 400;
  font-size: 1.2rem;
  display: block;
  margin-top: 0.4rem;
}

.attention {
  text-align: center;
  margin-top: 8rem;
}

.contact-button {
  border: 0.16rem solid var(--orange);
  color: var(--orange);
  padding: 1.4em 8em;
  font-size: 2rem;
  cursor: pointer;
  position: relative;
  border-radius: 10rem;
}

.button-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 4rem;
}

.contact-button img {
  display: inline-block;
  width: 4rem;
  position: absolute;
  top: 3.5rem;
  right: 3rem;
}

.button-container .button2 {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: none;
  position: absolute;
  top: 3.1rem;
  right: 2rem;
  background-image: url(../images/arrow-red.png);
  background-size: cover;
  background-size: 3rem;
  background-repeat: no-repeat;
}

.single-thanks h2 {
  margin-bottom: 8rem;
}

.single-thanks .button-container {
  margin-top: 0;
}

.single-thanks .button-container .button {
  left: 2rem;
  transform: scaleX(-1);
}

.page-top-contact .title,
.page-top-thanks .title {
  text-align: center;
}

.breadcrumb-list {
  justify-content: center;
}

.single-thanks img {
  position: absolute;
  top: 3.5rem;
  right: initial;
  left: 3.5rem;
  transform: scaleX(-1);
}

.pankuzu-box {
  display: flex;
  justify-content: center;
}

/*--------------------------------------------

page-business

------------------------------------------------*/
.page-business {
  padding-top: 5rem;
  padding-bottom: 15rem;
}

.page-business .business-box-box-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.page-business .box-box {
  grid-template-columns: repeat(1, 1fr);
  gap: 8rem;
  padding-left: 8rem;
}

.page-business .box-box h3 {
  font-size: 2.8rem;
  margin-bottom: 1.4rem;
}

.page-business .business-box-box-box-right {
  width: calc(100% - 30rem);
}

.page-business .business-box-box-box img {
  width: 30rem;
}

.page-business .business-wrap {
  gap: 20rem;
}

.page-business .product-a {
  position: initial !important;
}


body .business-sec .product-a {
  background-color: var(--back);
  border: 1px solid var(--border);
  position: relative;
  margin-top: 20rem;
  justify-content: space-between;
  border-radius: var(--radius);
}



.product-a-right {
  padding: 6rem 8rem 5rem;
  padding-left: 12rem;
  width: calc(100% - 35rem);
}

.product-a-left {
  width: 50rem;
  height: 39.4rem;
  position: relative;
}

.product-a-left img {
  position: absolute;
  bottom: -8rem;
  left: 6rem;
  position: relative;
}

.product-a .title {
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
  padding-bottom: 1rem;
  text-align: left;
}

.product-a-right .button {
  position: absolute;
  bottom: 34.5rem;
  right: 38rem;
  z-index: 90;
  display: block;
}

.page-business img:hover {
  scale: 1;
}

/*--------------------------------------------

page-group

------------------------------------------------*/

.page-group-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8rem 2.4rem;
}

.page-group-box {
  display: block;
}

.page-group-box img {
  margin-bottom: 1.6rem;
}

.page-group-box h2 {
  font-size: 1.5rem;
  font-weight: 500;
}


/*--------------------------------------------

page-news

------------------------------------------------*/
.news-content {
  padding-top: 20rem;
  padding-bottom: 10rem;
}

.news-content .breadcrumb-container {
  margin-bottom: 4rem;
}

.news-content .breadcrumb-list {
  justify-content: flex-start;
}

.news-content .title {
  font-size: 4rem;
  line-height: 1.6;
  font-weight: 800;
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  letter-spacing: var(--letter);
  width: 100%;
}

.news-content .sec_inner {
  padding: 15rem 20rem;
  background: #fff;
  border-radius: var(--radius);
}

.news-single-section {
  padding: 4rem 0;
}

.news-single-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1em;
  padding-left: 3.8rem;
  position: relative;
}

.news-single-section h2::after {
  content: "";
  width: 3rem;
  height: 3rem;
  background: url("../images/boul.png");
  background-size: cover;
  position: absolute;
  top: 0.5rem;
  left: 0;
}

.news-single-section p {
  margin-bottom: 4rem;
}

.news-single-ul {
  padding-left: 4rem;
}

.news-single-ul li {
  font-size: 1.5rem;
  letter-spacing: var(--letter2);
  line-height: 2;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5em;
  margin-bottom: 2em;
  position: relative;
}

.news-single-ul li .number {
  font-size: 1.2rem;
  position: absolute;
  top: 0.2em;
  left: -3.2rem;
}

.news-single-section h3 {
  font-size: 2rem;
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.5em;
}

.news-single-section h3::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--black);
  border-radius: 50%;
  background-size: cover;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.news-single-button-box {
  width: 100%;
  display: flex;
  justify-content: end;
}

.news-single-button-box .button {
  scale: 0.8;
}

.back::after,
.back::before {
  background-image: url("/images/arrow-back.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2rem;
}

.news-content .button-box {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}

.news-content .button-box a {
  font-weight: 500;
}

/*--------------------------------------------

corporate

------------------------------------------------*/

/* 1. 切り替えの親要素 */
.page-corporate .tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  /* 0.6s に戻して心地よいスピードに */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 2. フェードイン発動用 */
.page-corporate .tab-content.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 3. 枠の確保 */
.page-corporate .tab-content.active {
  display: block;
}

/* 既存デザイン維持（Sticky含む） */
.page-corporate .sec_inner {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.corporate-select-box {
  width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: sticky;
  top: 15rem;
  left: 0;
  height: fit-content;
}

.corporate-right {
  width: calc(100% - 40rem);
  margin-top: -8rem;
  margin-bottom: -8rem;
}

.corporate-select-box .tab-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0.8rem 0;
  padding-left: 4.8rem;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  text-align: left;
}

.corporate-select-box .tab-btn::before {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background-color: var(--maru);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.corporate-select-box .tab-btn.active::before {
  background: var(--gra);
  transform: translateY(-50%) scale(1.1);
}

.corporate-right h1 {
  font-size: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 1em 0 0.8em;
}





/*--------------------------------------------


page-company


------------------------------------------------*/
.page-company {
  padding-top: 5rem;
}

.page-company-section {
  padding-top: 10rem;
  padding-bottom: 15rem;
}

.page-company img {
  border-radius: var(--radius);
}

.history-section {
  padding-top: 0rem;
  position: relative;
}

.history-section::after {
  content: "";
  width: 60rem;
  height: 60rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: -2;
  pointer-events: none;
  position: absolute;
  top: -55rem;
  right: -30rem;
  opacity: 1;
}

.page-company-section h2 {
  font-size: 8rem;
  letter-spacing: -0.02em;
  margin-bottom: 8rem;
  line-height: 1.1;
}

.page-company-section h2 span {
  font-size: 2rem;
  display: block;
  letter-spacing: 0;
}

.info-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-box-left {
  width: 60rem;
}

.info-box-right {
  width: calc(100% - 60rem);
  padding-left: 8rem;
}

.info-box-right-box {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 2rem 2rem;
}

.info-box-right-box h3 {
  width: 16rem;
  font-size: 1.6rem;
  line-height: 2;
}

.info-box-right-box p {
  width: calc(100% - 16rem);
  padding-left: 4rem;
  font-size: 1.6rem;
}

.info-section {
  position: relative;
}

.info-section::after {
  content: "";
  width: 60rem;
  height: 60rem;
  background: url("../images/enn.png");
  background-size: cover;
  position: absolute;
  z-index: -2;
  pointer-events: none;
  position: absolute;
  top: -45rem;
  left: -40rem;
  opacity: 1;
}

.info-section::before {
  content: "";
  width: 30rem;
  height: 30rem;
  background: url("../images/enn.png");
  background-size: cover;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  position: absolute;
  bottom: -50rem;
  right: 10rem;
  opacity: 1;
}

.access-section {
  position: relative;
}

.access-section::after {
  content: "";
  width: 35rem;
  height: 35rem;
  background: url("../images/enn.png");
  background-size: cover;
  position: absolute;
  z-index: -2;
  pointer-events: none;
  position: absolute;
  top: -42rem;
  left: 15rem;
  opacity: 1;
}

.access-section p {
  text-align: center;
}

iframe {
  border-radius: var(--radius);
}

/*-----------history------------*/

.history-box {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.history-box h3,
.history-box h4 {
  font-size: 2rem;
  width: 30rem;
}

.history-box h3 .big,
.history-box h4 .big {
  font-size: 3rem;
}

.history-box-right-content {
  width: calc(100% - 30rem);
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  flex-wrap: wrap;
  gap: 3rem;
}

.history-box-right {
  display: flex;
  align-items: center;
}

.history-box h4 {
  width: 10rem;
  color: var(--black);
}

.history-box-right p {
  width: calc(100% - 10rem);
}

.history-wrp {
  border-bottom: 1px solid var(--border);
}

/*-----------office------------*/
.office-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  width: 100%;
}

.office-box:first-child {
  grid-column: 1 / 4;
}

.map-container {
  width: 100%;
  padding-top: 30%;
  position: relative;
  margin-bottom: 1.6rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-company-section:last-of-type {
  padding-bottom: 0;
}

.page-company {
  padding-bottom: 20rem;
}

/*--------------------------------------------


officer


------------------------------------------------*/
.page-officer {
  padding-top: 0;
}

.officer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0rem;
}

.officer-box {
  display: flex;
  justify-content: space-between;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.officer-message-box {
  border-bottom: 1px solid var(--border);
  margin-top: 8rem;
}

.officer-box-left {
  width: 60rem;
}

.officer-box-left h3 {
  font-size: 8rem;
  text-align: left;
}


.officer-box-right {
  width: calc(100% - 23rem);
}

.page-officer h2 {
  position: relative;
}

.officer-section {
  padding: 0;
  margin-bottom: 16rem;
}


.officer-section:last-of-type {
  margin-bottom: 0;
}

.officer-section img {
  border-radius: var(--radius);
}

.page-officer {
  padding-bottom: 10rem;
}

/*--------------------------------------------


３つのページ切り替え


------------------------------------------------*/
/* --- 切り替え対象の基本設定 --- */
.about-content {
  display: none;
  /* 初期は非表示 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- JSで枠が表示された時 --- */
.about-content.active {
  display: block;
}

/* --- ふわっと出現する時 --- */
.about-content.is-active {
  opacity: 1;
  transform: translateY(0);
}

.about-content .sec_inner {
  padding-bottom: 10rem;
}

.about-tab-menu {
  position: absolute;
  top: 58rem;
  right: 38%;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  z-index: 10;
}

.about-tab-menu .about-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0.8rem 0;
  padding-left: 4rem;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  text-align: left;
}

.about-tab-menu .about-btn::before {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background-color: var(--maru);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.about-tab-menu .about-btn.active::before {
  background: var(--gra);
  transform: translateY(-50%) scale(1.1);
}

.about-tab-menu.bottom {
  position: initial;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  z-index: 10;
  width: 42rem;
  margin-bottom: 15rem;
}

.about-tab-menu-bottom-box {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 38%;
}

/*--------------------------------------------


page-product


------------------------------------------------*/
.product-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6.4rem;
}

.product-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8rem 12rem 7rem;
  width: 100%;
}


.product-box .button {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  z-index: 10;
}

.product-box-left {
  width: calc(100% - 45rem);
  padding-right: 4rem;
}

.product-box-left h2 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.product-box-left .number {
  display: inline-block;
  border-bottom: 1px solid var(--black);
  margin-bottom: 1.6rem;
  font-size: 1.6rem;
}

.product-box-right {
  width: 45rem;
  position: absolute;
  bottom: 0;
  right: 12rem;
}

.product-single-box-right {
  width: 35rem;
  position: absolute;
  top: -5rem;
  right: 0;
}

.product-single-box-right .button-a {
  display: none;
}

/*--------------------------------------------


product-single


------------------------------------------------*/
.product-single-top {
  padding-top: 20rem;
  padding-bottom: 12rem;
}

.product-single-box {
  position: relative;
}

.product-single-box-left {
  width: calc(100% - 43rem);
  position: relative;
}

.product-single-box .title {
  font-size: 6.4rem;
  font-weight: 700;
  letter-spacing: var(--letter2);
  width: 100%;
  text-align: left;
}

.product-single-box .title .big {
  font-size: 6.4rem;
  display: inline-block;
  font-weight: 600;
}

.product-single-box .title .small {
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  padding-left: 2.4rem;
  position: relative;
}

.product-single-box .title .small::after {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  background: url("../images/boul.png");
  background-size: cover;
  position: absolute;
  top: -0.4;
  left: 0;
}

.product-single-box .button-a {
  font-weight: 500;
  position: absolute;
  top: 26.5rem;
  right: 0;
  z-index: 10;
  letter-spacing: var(--letter2);
}

.product-single-box .breadcrumb-list {
  justify-content: flex-start;
}

.product-single-top-img {
  position: absolute;
  bottom: -4rem;
  right: 0;
  width: 55rem;
}

.product-single-top-img img {
  filter: drop-shadow(0px 0px 1rem rgba(0, 0, 0, 0.2));
}

.single-product h2 {
  text-align: center;
  font-size: 8rem;
  margin-bottom: 8rem;
}

.single-product-info {
  margin-top: 2.4rem;
  margin-bottom: 4rem;
}

.single-product-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem 4rem;
}

.single-product-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 8rem 8rem;
}

.single-product-box h3 {
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.6rem;
}

.single-product-box p {
  margin-bottom: 4rem;
}

.single-product-box .number {
  text-align: center;
  display: inline-block;
  font-size: 1.4rem;
  width: 2rem;
  border-bottom: 1px solid var(--black);
  margin-bottom: 2.4rem;
  margin-left: 50%;
  transform: translateX(-50%);
}

.single-product {
  padding: 5rem 0 15rem;
}

.single-product .button-box {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}

.page-soul {
  padding-top: 10rem;
  margin-top: -5rem;
}

.page-soul-top {
  position: relative;
  padding-top: 0;
  padding-bottom: 25rem;
}

.page-soul-top img {
  z-index: 10;
}

.page-soul-top h3 {
  margin-bottom: -4rem;
}

.soul-top-back {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.1;
}

.page-soul-left {
  padding-top: 5rem;
  position: relative;
  z-index: 100;
}

.page-soul-left h2 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 4rem;
  line-height: 200%;
  margin-top: -4rem;
}

.page-soul-left p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
}

.feature-parallax {
  height: 60vh;
  background: var(--back);
}

.feature-parallax .parallax-img {
  height: 110%;
  top: -15%;
}

.title.is-stagger {
  opacity: 1;
  /* 親は透明にせず、中身で制御します */
  transform: none;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

/* --- 1. 初期状態 --- */
.title.is-stagger .line {
  letter-spacing: var(--letter);
  display: block;
  opacity: 0;
  transform: translateY(20px);

  /* ご指定のフォントスタイル */
  font-size: 3.2rem !important;
  font-weight: 800 !important;
  line-height: 1.8;

  /* 流れるための背景設定 */
  background: linear-gradient(to right, var(--h2-font) 50%, transparent 50%);
  background-size: 200% 100% !important;
  background-position: 100% 0 !important;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* アニメーションの速度設定 */
  transition:
    opacity 1s ease,
    transform 1s ease,
    background-position 1.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* --- 2. 実行状態（クラスがついた時） --- */
.title.is-stagger.is-active .line {
  opacity: 1 !important;
  transform: translateY(0) !important;
  background-position: 0 0 !important;
  /* ここで色が流れる */
}

/* --- 3. 順番待ち（ディレイ） --- */
.title.is-stagger.is-active .line:nth-child(1) {
  transition-delay: 0s !important;
}

.title.is-stagger.is-active .line:nth-child(2) {
  transition-delay: 0.7s !important;
}

.title.is-stagger.is-active .line:nth-child(3) {
  transition-delay: 1.4s !important;
}

/*--------------------------------------------


mission


------------------------------------------------*/
.soul-bottom-section {
  padding: 0rem 0 20rem;

}

.soul-bottom-section .title {
  font-size: 8rem;
  margin-bottom: 4rem;
  text-align: left;
}

.soul-bottom-section .sec_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soul-bottom-section-left {
  width: calc(50% - 0rem);
}

.soul-bottom-section-right {
  width: 45vw;
  margin-right: -17vw;
  position: relative;
  z-index: 5;
}

.soul-bottom-section-right::before {
  content: "";
  width: 20rem;
  height: 20rem;
  background: url("../images/enn.png");
  background-size: cover;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  position: absolute;
  bottom: -10rem;
  right: 65rem;
  opacity: 1;
}

.soul-bottom-section-left-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.soul-bottom-section-left-box li {
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  font-size: 2.4rem;
  font-weight: 700;
  display: flex;
  justify-content: flex-start;
  gap: 2.4rem;
  align-items: center;
}

.soul-bottom-section-left-box li .number {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
}

.soul-future .soul-bottom-section-left {
  order: 2;
}

.soul-future .soul-bottom-section-right {
  order: 1;
  margin-left: -17vw;
  margin-right: 0;
}

.page-soul-bottom {
  padding-bottom: 0;
}

.page-soul-bottom img {
  border-radius: var(--radius);
}

.page-soul {
  padding-bottom: 0;
}

.soul-future .soul-bottom-section-right::before {
  right: initial;
  left: 65rem;
  rotate: 180deg;
}


/*--------------------------------------------


soul-animation


------------------------------------------------*/
#top-2 {
  margin-top: 12rem;
  padding-top: 12rem;
  padding-bottom: 80rem;
  position: relative;
}

.soul-back {
  position: absolute;
}

.soul-back-1 {
  top: 20rem;
  left: 28rem;
  width: 24rem;
}

.soul-back-2 {
  top: 40rem;
  left: 18rem;
  width: 18rem;
}

.soul-back-3 {
  top: 10rem;
  right: 22rem;
  width: 24rem;
}

.soul-back-4 {
  top: 50rem;
  right: 10rem;
  width: 32rem;
}


#top-2 .title {
  margin-left: 0;
  margin-bottom: 4rem;
}

.page-soul-right {
  position: absolute;
  top: 79rem;
  right: 52rem;
  scale: 0.85;
  z-index: 100;
}

.soul--soul.page-soul-right {
  position: absolute;
  top: 56rem;
}

.soul-soul p {
  margin-bottom: 45rem;
}

.page-soul-left p {
  text-align: center;
  font-weight: 600;

}

#soul .page-soul-top h3 {
  margin-bottom: 2.8rem;
}

.soul-ill {
  position: relative;
  width: 70rem;
  height: 70rem;
}

.soul-ill::before {
  content: "";
  background: url("../images/enn.png");
  background-size: cover;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  opacity: 0.9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.soul-ill .soul-en {
  border-radius: 50%;
  width: 20rem;
  height: 20rem;
  position: relative;
  z-index: 10;
}

.soul-ill .soul-en::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
  inset: 0;
  background: var(--orange);
}

.soul-ill .soul-en h4 {
  color: #fff;
  text-align: center;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
}

.soul-ill .soul-en h4 .big {
  display: block;
  font-size: 2.4rem;
}



.soul-logo {
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.soul-ill .soul-logo::after {
  background: #fff;
  filter: blur(2rem);
}

.soul-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.soul-ill .soul-user {
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
}

.soul-ill .soul-business::after {
  background: var(--yellow2);
}

.soul-ill .soul-talent::after {
  background: var(--red);
}

.soul-ill .soul-business {
  position: absolute;
  bottom: 5rem;
  right: 3rem;
}

.soul-ill .soul-talent {
  position: absolute;
  bottom: 5rem;
  left: 3rem;
}

/*--------------------------------------------
追加アニメーション：外周を走る線と波紋
------------------------------------------------*/

/* --- 1. 外周を走る細い線 --- */
.soul-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  /* before(75%)よりわずかに大きく */
  height: 78%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  /* 背景円(10)より下に配置して馴染ませる */
  pointer-events: none;
  /* 線の本体 */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.soul-orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  /* 親の境界線に重ねる */
  border-radius: 50%;
  /* 先端が光る細い線を作成 */
  padding: 1px;
  background: conic-gradient(from 0deg, var(--yellow2), transparent 40deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbit-rotate 6s linear infinite;
}

/* --- 2. 広がる波紋 --- */
.soul-ripple-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: 75%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.soul-ripple-container span {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: ripple-effect 4s ease-out infinite;
}

.soul-ripple-container span:nth-child(2) {
  animation-delay: 2s;
  /* 2枚目の波紋を遅らせる */
}

/* --- アニメーション定義 --- */

/* 1周回転 */
@keyframes orbit-rotate {
  from {
    transform: rotate(0deg);
  }

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

/* 波紋の拡大と消失 */
@keyframes ripple-effect {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/*--------------------------------------------
追加アニメーション：端をぼかした極太流動ライン ＆ 背後の吸収波紋
------------------------------------------------*/

/* --- 1. 3本の【端をぼかした】極太流れる光 --- */
.soul-energy-flow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  z-index: 9;
  /* soul-en(10)より下 */
  pointer-events: none;
}

.soul-energy-flow .line {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2rem solid transparent;
  /* さらに少し太くしました */

  /* conic-gradientの色の配置を工夫：
     transparent(開始) -> 
     orange/yellow(中央) -> 
     transparent(終了) 
     にすることで、線の両端をグラデーションで消しています。
  */
  background: conic-gradient(from 0deg,
      transparent 0deg,
      var(--orange) 20deg,
      var(--yellow2) 40deg,
      var(--orange) 60deg,
      transparent 80deg) border-box;

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  /* 軌跡にブラー（ぼかし）をかけて質感を滑らかに */
  filter: blur(1rem);
  animation: energy-rotate 5s linear infinite;
}

.soul-energy-flow .line:nth-child(1) {
  animation-delay: 0s;
}

.soul-energy-flow .line:nth-child(2) {
  animation-delay: -1.66s;
}

.soul-energy-flow .line:nth-child(3) {
  animation-delay: -3.33s;
}

/* --- 2. 内側へ向かう波紋（z-indexを調整） --- */
/*--------------------------------------------
soul-animation - 最終調整版
（線の間隔を広げ、より独立した3本の光の流れに）
------------------------------------------------*/

/* 1. 3本の【間隔を広げた】滑らかな流れる光 */
.soul-energy-flow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.soul-energy-flow .line {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 15px solid transparent;

  /* 描画範囲を 0deg 〜 80deg に絞ることで、
     360度の中に占める「光」の割合を減らし、間隔（隙間）を広げました。
  */
  background: conic-gradient(from 0deg,
      transparent 0deg,
      var(--orange) 10deg,
      var(--yellow) 40deg,
      var(--orange) 70deg,
      transparent 80deg) border-box;

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter: blur(3px);
  animation: soul-rotate-flow 5s linear infinite;
}

/* 3本の線の位置（タイミング）はそのまま */
.soul-energy-flow .line:nth-child(1) {
  animation-delay: 0s;
}

.soul-energy-flow .line:nth-child(2) {
  animation-delay: -1.66s;
}

.soul-energy-flow .line:nth-child(3) {
  animation-delay: -3.33s;
}

/* 2. 内側へ向かう【太め・ぼかし】波紋（変更なし） */
.soul-ripple-in {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65%;
  height: 65%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.soul-ripple-in span {
  position: absolute;
  inset: 0;
  border: 6px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
  filter: blur(4px);
  animation: soul-ripple-absorb 4s ease-in infinite;
}

.soul-ripple-in span:nth-child(2) {
  animation-delay: 2s;
}

/* --- アニメーション定義 --- */

@keyframes soul-rotate-flow {
  from {
    transform: rotate(0deg);
  }

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

@keyframes soul-ripple-absorb {
  0% {
    transform: scale(1);
    opacity: 0;
  }

  30% {
    opacity: 0.5;
  }

  100% {
    transform: scale(0.2);
    opacity: 0;
  }
}

/*--------------------------------------------







メディアクエリ







------------------------------------------------*/

@media screen and (min-width: 1025px) {

  html {
    font-size: 0.58vw;
  }
}

@media screen and (max-width: 1024px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  html {
    font-size: 1.5vw;
  }

  .sec_inner {
    width: 90%;
  }

  p {
    font-size: 2.5rem;
  }

  .title {
    font-size: 10rem;
    text-align: left;
  }

  .title span {
    font-size: 3rem;
  }

  .button-a {
    font-size: 3rem;
  }

  .button {
    width: 10rem;
    height: 10rem;
  }

  .button::before,
  .button::after {
    background-size: 2.5rem;
  }

  header {
    background: #fff;
  }

  .hamburger span {
    background: var(--black) !important;
  }

  /*--------------------------------------------

ハンバーガーボタン

------------------------------------------------*/
  /* --- 1. ハンバーガーボタン（三本線） --- */
  .hamburger {
    position: fixed;
    top: 1.4rem;
    right: 5%;
    width: 8rem;
    height: 5rem;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    /* 線の間隔 */
  }

  .hamburger.is-active {
    top: 2rem;
    right: 4%;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 1.6px;
    background-color: #fff;
    /* 背景が暗い想定。適宜調整 */
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* クリック時（is-active）のアニメーション */
  .hamburger.is-active span:nth-child(1) {
    transform: translateY(1.45rem) rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: translateY(-0.6rem) rotate(-45deg);
  }

  /* --- 2. ナビゲーション本体 --- */
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    /* 背景色 */
    z-index: 999;
    padding: 80px 20px 40px;
    overflow-y: auto;

    /* 最初は隠す（透明度と位置） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  header nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* --- 3. メニューリスト --- */
  header nav ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
  }

  header nav>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  header nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
  }

  /* --- 4. ドロップダウン（画像付きメニュー） --- */
  .dropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列 */
    gap: 15px;
    padding: 10px 0 20px;
  }

  .dropdown li {
    border: none;
  }

  .dropdown li a {
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .dropdown img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 2px;
    display: block;
  }

  /* 画面固定用（JSでbodyに付与） */
  .overflow-hidden {
    overflow: hidden;
  }

  /* --- スマホ専用ナビゲーションのスタイル --- */
  nav.sp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    /* 背景を暗くして文字を際立たせる */
    z-index: 999;
    padding: 80px 20px 40px;
    overflow-y: auto;

    /* アニメーションの初期状態（上からふわっと） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* メニューが開いた時 */
  nav.sp.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hamburger.is-active span {
    background-color: #ffffff !important;
  }

  /* リスト全体の装飾 */
  nav.sp ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: fit-content;
    gap: 8rem 4rem;
  }

  nav.sp ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  nav.sp ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding-bottom: 2rem;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    position: relative;
  }

  nav.sp ul li a::after {
    content: "";
    background: url("../images/white-arrow.png");
    background-size: cover;
    width: 3.4rem;
    height: 2.4rem;
    position: absolute;
    top: 2rem;
    right: 0;
  }


  /* 背景固定用 */
  body.overflow-hidden {
    overflow: hidden;
  }

  .header_rogo img {
    width: 20rem;
    left: 5%;
    top: 2.4rem;
  }

  .conversion {
    width: calc(200% + 4rem) !important;
  }

  /*--------------------------------------------

top

------------------------------------------------*/

  .top h1 {
    bottom: 5vh;
  }

  /*--------------------------------------------

top-2

------------------------------------------------*/

  .page-soul-top .page-soul-right {
    position: initial;
    width: 100%;
  }

  .page-soul-left {
    width: 100%;
    margin: 0;
  }

  .soul-ill {
    width: 65rem;
    height: 65rem;
    margin-left: -3rem;
  }

  .title.is-stagger {
    width: 100%;
    margin-top: 4rem;
  }

  .title.is-stagger .line {
    font-size: 4.5rem !important;
  }

  .page-soul-left p {
    font-size: 2.5rem;
  }

  .soul-top-back {
    bottom: 10rem;
  }

  .page-soul-top {
    padding-bottom: 25rem;
  }

  .soul-ill .soul-en h4 {
    font-size: 1.8rem;
  }

  .slider-section::after {
    width: 30rem;
    height: 30rem;
  }

  .slider-section::before {
    width: 30rem;
    height: 30rem;
  }

  .soul-back-4 {
    top: initial;
    right: 5rem;
    bottom: 5rem;
    width: 25rem;
  }

  .soul-back-3 {
    top: initial;
    bottom: 0rem;
    right: 20rem;
    width: 20rem;
    z-index: 20 !important;
  }

  .soul-back-2 {
    top: initial;
    bottom: 15rem;
    right: initial;
    left: -5rem;
    width: 20rem;
  }

  .soul-back-1 {
    display: none;
  }

  .page-soul-left p {
    text-align: left;
  }

  .bg-particles {
    bottom: -10rem;
    height: 150vh;
  }

  /*--------------------------------------------

business

------------------------------------------------*/
  #top-2 {
    padding-bottom: 50rem;
    margin-top: 0;
  }

  .business-wrap {
    width: 100%;
    display: initial;
  }

  .box-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem 2.4rem;
    padding-left: 0;
    margin-top: 4rem;
    margin-bottom: 12rem;
    width: 100%;
  }

  .business-title-sp h3 {
    font-size: 2.4rem;
    padding-left: 6rem;
    position: relative;
  }

  .business-title-sp h3::after {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0rem;
    width: 4rem;
    height: 4rem;
    background: var(--yellow2);
    opacity: 1;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
  }

  .business-box h3 {
    font-size: 2.25rem;
  }

  .business-box .number {
    bottom: initial;
    top: -3rem;
    font-size: 3rem;
    font-weight: 600;
  }

  .business-box .number::after {
    top: -0.7rem;
    left: -0.6rem;
    width: 5rem;
    height: 5rem;
  }

  .user-title-sp h3::after {
    background: var(--orange) !important;
  }

  .talent-title-sp h3::after {
    background: var(--red) !important;
  }

  .business-title-sp h3 .big {
    font-size: 4rem;
  }

  .business-sec .title {
    margin-bottom: 8rem;
  }

  .business-sec .button-a {
    position: initial;
    margin: 0 auto;
    width: 27rem;
  }

  /*--------------------------------------------

product

------------------------------------------------*/
  .product {
    padding-top: 20rem;
    padding-bottom: 25rem;
    position: relative;
  }

  .product::before {
    width: 30rem;
    height: 30rem;
    top: -5rem;
    right: -17rem;
  }

  .product::after {
    width: 30rem;
    height: 30rem;
    left: -17rem;
    top: 62rem;
    z-index: -1;
  }

  .product .sec_inner {
    flex-wrap: wrap;
  }

  .product-right {
    width: 100%;
  }

  .product p {
    font-size: 2.5rem;
    margin-bottom: 8rem;
  }

  .is-right {
    top: 57vw;
  }

  .img-content {
    height: 80rem;
  }

  .product .button-a {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .img-content::before {
    width: 25rem;
    height: 25rem;
    top: 28rem;
  }

  .img-content::after {
    width: 25rem;
    height: 25rem;
    top: 0rem;
    left: -3rem;
  }

  .is-left {
    width: 100%;
    height: 38rem;
  }

  .is-right {
    width: 100%;
    top: 54vw;
  }

  /*--------------------------------------------

about

------------------------------------------------*/
  .about {
    padding-top: 20rem;
  }

  .about .sec_inner {
    flex-wrap: wrap;
  }

  .about-title-box {
    width: 100%;
  }

  .about-wrap {
    width: 100%;
    padding: 0;
    margin-top: 5rem;
  }



  .about-box {
    padding-left: 5rem;
    padding-right: 0;
  }

  .about-box h3 {
    font-size: 8rem;
  }

  .about-box h3 span {
    font-size: 2rem;
  }

  .about::after {
    top: 30rem;
    left: initial;
    right: 8rem;
  }

  .about::before {
    top: 5rem;
    left: initial;
    right: -10rem;
  }

  /*--------------------------------------------

group

------------------------------------------------*/

  .group .sec_inner {
    flex-wrap: wrap;
  }

  .group-left {
    width: 100%;
  }

  .group-wrap {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .group-box p {
    display: none;
  }

  .group .sp,
  .news .sp {
    display: flex;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 8rem;
  }

  .parallax-window {
    height: 50vh;
  }

  .parallax-img {
    height: 150%;
  }

  .group::before {
    width: 30rem;
    height: 30rem;
    top: 9rem;
    right: -18rem;
  }

  .group::after {
    width: 30rem;
    height: 30rem;
    bottom: -22rem;
    left: -18rem;
  }

  /*--------------------------------------------

news

------------------------------------------------*/

  .news .sec_inner {
    flex-wrap: wrap;
  }

  .news-right {
    width: 100%;
    margin-left: 0;
  }

  .news-box h3 {
    font-size: 2.5rem;
    display: -webkit-box;
    /* 必須：要素をFlexボックスのような形式にする */
    -webkit-box-orient: vertical;
    /* 必須：並べる方向を垂直に指定 */
    -webkit-line-clamp: 2;
    /* ここに表示したい行数を書く（2行なら2） */
    overflow: hidden;
  }

  .news-box .cate,
  .news-content .cate {
    font-size: 2rem;
  }

  .news::after {
    width: 30rem;
    height: 30rem;
    bottom: -22rem;
    left: -18rem;
  }

  .news::before {
    width: 30rem;
    height: 30rem;
    top: -16rem;
    left: initial;
    right: -10rem;
  }

  /*--------------------------------------------

corporate

------------------------------------------------*/
  .corporate-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .corporate-wrap .corporate-box {
    width: 100%;
  }

  .arrow-white {
    bottom: 0rem;
    right: 0rem;
  }

  .corporate-box h3 {
    font-size: 2.25rem;
  }

  .corporate-box h3 .big {
    font-size: 3.5rem;
  }

  /*--------------------------------------------

recruit

------------------------------------------------*/
  .recruit {
    padding-bottom: 0rem;
  }

  .recruit .title {
    font-size: 7.2rem;
    margin-bottom: 2.5rem;
  }

  .recruit .title span {
    font-size: 2.25rem;
  }

  .recruit .sec_inner,
  .recruit-box {
    padding: 8rem 0 8rem;
  }

  .recruit p {
    font-size: 2.25rem;
  }

  .recruit .button {
    top: initial;
    bottom: initial;
    top: 9.5rem;
    right: 0%;
  }

  .recruit-bottom-wrap {
    width: 90%;
    flex-wrap: wrap;
    margin-top: 6rem;
  }

  .recruit::after {
    bottom: 111rem;
    left: -7rem;
    width: 30rem;
    height: 30rem;
  }

  .recruit::before {
    right: -7rem;
    bottom: 13rem;
  }

  .recruit-bottom-wrap {
    gap: 0rem;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }

  .recruit--box {
    padding: 15rem 10%;
    border-radius: 4rem;
  }

  .recruit .border {
    border-bottom: 1px solid #fff;
  }

  /*--------------------------------------------

  page

------------------------------------------------*/
  .breadcrumb-list {
    font-size: 1.8rem;
  }

  .page-top-img-box {
    height: 60rem;
  }

  .page {
    padding-bottom: 10rem;
  }

  .page-top .title {
    font-size: 10rem;
    text-align: center;
  }

  /*--------------------------------------------

  page-business

------------------------------------------------*/
  .page-business {
    padding-bottom: 10rem;
  }

  .business-wrap {
    margin-top: 10rem;
  }

  .page-business .business-box-box-box {
    flex-wrap: wrap;
    margin-bottom: 8rem;
  }

  .page-business .business-box {
    width: 100%;
    height: 40rem;
  }

  .page-business .business-box-box-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-business .business-box-box-box-right {
    width: 100%;
    margin-top: 6.5rem;
  }

  .page-business .business-box h3 {
    font-size: 3.5rem;
    margin-top: 4rem;
  }

  .page-business .business-box .number {
    font-size: 3.5rem;
  }

  .page-business .business-box .number::after {
    top: -1rem;
    left: -1.4rem;
    width: 7rem;
    height: 7rem;
  }

  .page-business .box-box {
    padding-left: 0;
  }

  .business-title-sp {
    margin-bottom: 0rem;
  }

  .business-title-sp h3 {
    position: relative;
  }

  .business-title-sp h3::after {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0rem;
    width: 4rem;
    height: 4rem;
    background: var(--yellow2);
    opacity: 1;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
  }

  .business-title-sp-talent h3::after {
    background: var(--red);
  }

  .business-title-sp-user h3::after {
    background: var(--orange);
  }

  body .business-sec .product-a {
    width: 100%;
    margin-top: 0rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8rem 0rem 0;
    position: initial;
  }

  .product-a-left {
    width: 100%;
    order: 2;
    height: auto;
    padding: 4rem 4rem 0;
  }

  .product-a-right {
    width: 100%;
    padding: 4rem;
    order: 1;
  }

  .product-a-left img {
    position: initial;
  }

  .page-business.business-sec .title {
    margin-bottom: 4rem;
    width: 100%;
  }

  .product-a-right .button {
    position: absolute;
    bottom: 46rem;
    right: 8rem;
  }

  .product-a .title {
    font-size: 10rem;
  }

  /*--------------------------------------------

  footer

------------------------------------------------*/
  .footer {
    padding: 10rem 0 10rem;
  }

  .footer-center-box {
    flex-wrap: wrap;
    gap: 12rem;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav ul {
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 6.4rem;
  }

  .footer-nav ul li a {
    font-size: 2.25rem;
  }

  .footer-nav ul li a .button {
    top: -2.5rem;
  }

  .footer-center-box-right a {
    font-size: 2.25rem;
  }

  .footer-center-box-right {
    gap: 4rem;
  }

  .footer-center-box-right .big {
    font-size: 6rem;
  }

  .footer-center-box-right {
    width: 100%;
  }

  .footer-center-box-right .button {
    margin-bottom: 0;
    right: initial;
    left: 32rem;
  }

  .footer-bottom p {
    font-size: 1.8rem;
  }

  .footer-bottom img {
    width: 24rem;
  }

  .footer-bottom {
    margin-top: 10rem;
  }

  /*--------------------------------------------

  page-product

------------------------------------------------*/
  .product-box {
    padding: 8rem 4rem 0;
    flex-wrap: wrap;
  }

  .product-box-left {
    width: 100%;
    padding: 0;
  }

  .product-box-right {
    width: 100%;
    position: initial;
    padding-top: 8rem;
  }

  .product-box-left h2 {
    font-size: 4.5rem;
  }

  .product-box-left .number {
    font-size: 2.5rem;
  }

  .product-wrap {
    gap: 8rem;
  }

  .product-box .button {
    bottom: 37rem;
    right: 4rem;
  }

  .page-product {
    padding-top: 15rem;
  }

  .product-single-box-left {
    width: 100%;
  }

  .product-single-box-right {
    width: 80%;
    margin: 6rem auto;
    position: initial;
  }

  .product-single-box-right .button-a {
    position: initial;
    margin-top: 8rem;
    display: flex;
    justify-content: center;
  }

  .product-single-box .title {
    padding-bottom: 3rem;
  }

  .single-product-info {
    margin-top: 3rem;
    margin-bottom: 6rem;
  }

  /*--------------------------------------------

  single-product

------------------------------------------------*/
  .product-single-top .title {
    text-align: left;
    font-size: 6.45rem;
  }

  .single-product-wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8rem;
  }

  .single-product-box {
    padding: 8rem 4rem;
  }

  .single-product-box .number {
    font-size: 2.5rem;
    width: 3rem;
    display: block;
    margin-left: 0;
    transform: initial;
  }

  .single-product-box h3 {
    font-size: 4rem;
    text-align: left;
  }

  .single-product h2 {
    text-align: left;
    margin-left: 0;
  }

  /*--------------------------------------------

  page-group

------------------------------------------------*/
  .page-group {
    padding-top: 15rem;
    padding-bottom: 10rem;
  }

  .page-group-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .news-page-top {
    padding-bottom: 0;
  }

  .page-group-box h2 {
    font-size: 2.5rem;
  }

  /*--------------------------------------------

  page-news

------------------------------------------------*/
  .news-filter {
    width: 100%;
    padding-left: 0;
  }

  .page-news {
    padding-top: 15rem;
  }

  .page-news.news::before {
    display: none;
  }

  .page-news .filter-btn {
    padding: 1.6rem 2.4rem;
    font-size: 2.25rem;
    width: 18.5rem;
  }

  .page-news .news-right {
    width: 100%;
    margin-left: 0;
    margin-top: 4rem;
  }

  .news-box {
    padding: 6.4rem 0rem;
  }

  .news-box-right {
    width: calc(100% - 6rem);
  }

  .pagination-link {
    font-size: 3rem;
    min-width: 3.5rem;
    height: 3.5rem;
  }

  .page-news .news-box {
    padding: 6.4rem 0rem;
  }

  /*--------------------------------------------

  single-news

------------------------------------------------*/
  .news-content .sec_inner {
    padding: 8rem 4rem;
  }

  .news-content .title {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
  }

  .news-single-section h2 {
    font-size: 3.5rem;
    padding-left: 5rem;
  }

  .news-single-section h2::after {
    width: 4rem;
    height: 4rem;
  }

  .news-single-ul li {
    font-size: 2.5rem;
    padding-bottom: 2em;
  }

  .news-single-ul {
    padding-left: 0;
  }

  .news-single-ul li .number {
    font-size: 2.5rem;
    display: block;
    position: initial;
  }

  .news-single-section h3 {
    font-size: 3.5rem;
  }

  .news-box-small .number {
    font-size: 2rem;
  }

  /*--------------------------------------------

  page-corporate

------------------------------------------------*/


  .page-corporate .sec_inner {
    flex-wrap: wrap;
  }

  .corporate-select-box {
    width: 100%;
    position: initial;
    margin-bottom: 10rem;
    gap: 2.5rem;
  }

  .corporate-right,
  .about-main-area {
    width: 100%;
  }

  .corporate-select-box .tab-btn {
    font-size: 2.5rem;
    padding-left: 6.4rem;
  }

  .corporate-select-box .tab-btn::before {
    width: 4rem;
    height: 4rem;
  }

  /*--------------------------------------------

  page-about

------------------------------------------------*/
  .about-tab-menu,
  .about-tab-menu.bottom {
    top: 59rem;
    width: 92%;
    right: initial;
    left: 5%;
    gap: 2.8rem;
  }

  .about-tab-menu-bottom-box {
    padding-right: 0;
    padding-left: 0;
    margin-left: -1rem;
  }

  .about-tab-menu .about-btn {
    font-size: 2.5rem;
    padding-left: 5rem;
  }

  .about-tab-menu .about-btn::before {
    width: 4rem;
    height: 4rem;
  }

  /*--------------------------------------------

  page-soul

------------------------------------------------*/
  .about-content .page-top .sec_inner {
    margin-bottom: 18rem;
  }

  .about-content .page-soul-right {
    order: 1;
  }

  .about-content .page-soul-left {
    order: 2;
  }

  .about-content .page-soul-top .sec_inner {
    display: flex;
    flex-wrap: wrap;
  }


  .soul-bottom-section-left {
    width: 100%;
  }

  .soul-bottom-section .sec_inner {
    flex-wrap: wrap;
  }

  .soul-bottom-section-left-box li {
    font-size: 3.2rem;
  }

  .soul-bottom-section-left-box li .number {
    font-size: 2rem;
  }

  .soul-bottom-section-right {
    width: 100%;
    margin: 0;
    margin-top: 4rem;
  }

  .soul-future .soul-bottom-section-left {
    order: 1;
  }

  .soul-future .soul-bottom-section-right {
    order: 2;
    margin: 0;
    margin-top: 4rem;
  }

  #top-2 h3 {
    margin-bottom: 8rem;
  }

  .page-soul-left {
    padding-top: 0rem;
  }

  #soul .page-soul-top h3 {
    padding-left: 5%;
  }

  /*--------------------------------------------

  page-company

------------------------------------------------*/
  .page-company-section h2 {
    font-size: 10rem;
    margin-bottom: 4rem;
  }

  .page-company-section h2 span {
    font-size: 3rem;
    letter-spacing: var(--letter);
  }

  .history-box {
    flex-wrap: wrap;
  }

  .history-box h3,
  .history-box h4 {
    width: 100%;
  }

  .history-box-right-content {
    width: 100%;
  }

  .history-box h3 .big,
  .history-box h4 .big {
    font-size: 5rem;
    width: 100%;
  }

  .history-box h3 .big {
    font-size: 7rem;
  }

  .history-box h3 {
    margin-bottom: 4rem;
  }

  .history-box h4 {
    width: 10rem;
  }

  .history-box {
    padding: 8rem 0;
  }

  .history-box-right-content {
    gap: 4rem;
  }


  .info-box {
    flex-wrap: wrap;
  }

  .info-box-right {
    width: 100%;
    padding-left: 0;
  }

  .info-box-right-box h3 {
    font-size: 2.5rem;
  }

  .info-box-right-box {
    padding: 4rem 0;
  }

  .info-box-right-box p {
    font-size: 2.5rem;
  }

  .map-container {
    padding-top: 100%;
  }

  .office-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4列に設定 */
    gap: 1.6rem;
    width: 100%;
  }

  /* 1番目の要素：1行目を独占（4列分） */
  .office-box:nth-child(1) {
    grid-column: 1 / 5;
  }

  /* 2番目以降の要素：2列分ずつ占有（これで1行に2つ並ぶ） */
  .office-box:nth-child(n + 2) {
    grid-column: span 2;
  }

  .officer-box {
    flex-wrap: wrap;
  }

  .officer-box-left {
    width: 100%;
    padding-left: 0;
    margin-bottom: 4rem;
  }

  .officer-box-right {
    width: 100%;
  }

  .page-officer h2::before {
    bottom: -5rem;
  }

  .officer-message-box {
    margin-top: 2rem;
  }

  .access-section::after,
  .info-section::before,
  .info-section::after,
  .history-section::after {
    width: 30rem;
    height: 30rem;
  }

  .info-section::before {
    right: -15rem;
    bottom: -35rem;
  }

  .info-section::after {
    left: -15rem;
    top: -30rem;
  }

  .access-section::after {
    left: -15rem;
    top: -32rem;
  }

  .history-section::after {
    top: -40rem;
    right: -10rem;
  }

  /*--------------------------------------------

  page-contact

------------------------------------------------*/
  .contacts-wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  .contacts-box h2 {
    font-size: 4rem;
  }

  .single-contact h2 {
    font-size: 2.25rem;
    text-align: left;
  }

  .single-contact-box {
    flex-wrap: wrap;
  }

  .contact-top h1 {
    font-size: 7rem;
  }

  .contact-top h1 span {
    font-size: 3.5rem;
  }

  label,
  input,
  textarea {
    width: 100%;
    font-size: 2.5rem;
  }

  label {
    margin-bottom: 1.6rem;
    font-size: 2.8rem;
  }

  .single-contact-box {
    margin-bottom: 8rem;
  }

  .single-contact .small {
    font-size: 2rem;
  }

  input,
  textarea {
    padding: 1.2em 1.2em;
  }

  .required {
    width: 1.4rem;
    margin-left: 1rem;
    transform: translateY(-1.6rem);
  }

  .attention {
    text-align: left;
    font-size: 2.25rem;
  }

  .contact-button {
    width: 100%;
    font-size: 3rem;
    padding: 4rem 0;
    font-weight: 600;
    border: 1px solid var(--orange);
    text-align: center;
  }

  .button-container .button2 {
    top: 5.1rem;
    right: 3rem;
  }
}










/*--------------------------------------------







流れるアニメーション







------------------------------------------------*/
/*--------------------------------------------

page-top内の画像流れるアニメーション

------------------------------------------------*/
/* --- 画像の親要素（枠） --- */
.page-top-img-box {
  width: 100%;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 100% 0 0);
  /* 初期状態 */

  /* 0.8秒待ってから、1.2秒で素早く開く */
  animation: imgReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.8s forwards;
}

/* --- 画像自体の設定 --- */
.page-top-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* 修正：animation-fill-mode を forwards（維持）から none（捨てる）に変更 */
  /* これでアニメ終了後、JSが自由に動かせるようになります */
  animation: imgZoomOut 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.8s none !important;

  /* 初期状態でJSが動く前の「見た目」を維持するための設定 */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* --- アニメーションの定義（内容は維持） --- */
@keyframes imgReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes imgZoomOut {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.0);
  }
}

/* 念のため既存の transition が邪魔しないように */
.page-top-img-box,
.page-top-img {
  transition: none !important;
}

/*--------------------------------------------

page-top内のタイトル時間遅らせる（始まりの）

------------------------------------------------*/

/* --- page-top内のタイトル：さらに待機時間を延ばす --- */
.page-top .title {
  opacity: 0;
  /* 名前 | 時間(1sで速めに) | イージング | 遅延(1.0s待機) | 終了維持 */
  animation: revealTop 1.0s cubic-bezier(0.19, 1, 0.22, 1) 1.0s forwards !important;
}

/* --- 1行ずつ出す場合の時差も再調整 --- */
.page-top .title .line:nth-child(1) {
  animation-delay: 1.0s !important;
  /* 全体開始を1秒待機 */
}

.page-top .title .line:nth-child(2) {
  animation-delay: 1.4s !important;
  /* 1.0s + 0.4s */
}

.page-top .title .line:nth-child(3) {
  animation-delay: 1.8s !important;
  /* 1.4s + 0.4s */
}

/* 既存の transition が干渉しないようにガード */
.page-top .title,
.page-top .title .line {
  transition: none !important;
}

/* アニメーションの内容（前回と同じ） */
@keyframes revealTop {
  0% {
    opacity: 0;
    transform: translateY(20px);
    background-position: 100% 0;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    background-position: 0% 0;
  }
}

/*--------------------------------------------

３つのボタン切り替えふわっと

------------------------------------------------*/

/* 切り替え時のフェードアウト状態 */
.tab-content {
  opacity: 0;
  transition: opacity 0.4s ease;
  /* フェードの速さ */
}

/* 表示状態 */
.tab-content.is-active {
  opacity: 1 !important;
}

/* 切り替え中に一瞬かける「幕」の演出（お好みで） */
.corporate-right,
.about-main-area {
  transition: opacity 0.3s ease;
}

.is-switching {
  opacity: 0;
  /* 切り替え中、エリア全体を一時的に消す */
}

/*--------------------------------------------

ヘッダー消えないおまじない

------------------------------------------------*/
body.is-page-loaded,
body.is-fading-out {
  overflow: visible !important;
  height: auto !important;
  filter: none !important;
  backdrop-filter: none !important;
}
