/* =================
  共通
================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN";
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@keyframes fadeUp{
  0%{
  opacity:0;
  transform:translateY(40px);
  }
  100%{
  opacity:0.9;
  transform:translateY(0);
  }
}

@keyframes fadeIn{
  0%{ opacity:0; }
  100%{ opacity:0.7; }
}

/* title共通 */
.section-title {
  display: block;
  font-size: 70px;
  letter-spacing: 4px;
  font-weight: 250;
}

.section-title::after{
  content:"";
  display:block;
  width:80px;
  height:2px;
  background:#c32d2d;
  margin:20px auto 0;
}

.section-subtitle {
  font-size: 18px;
  margin-top: 10px;
  letter-spacing: 2px;
  font-weight: 300;
}

/* アニメーション共通 */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* セクション区切り */
.section-divider {
  width: 100%;
  background: #fff;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-divider-line {
  display: block;
  width: 85%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 15%,
    rgba(0, 0, 0, 0.22) 50%,
    rgba(0, 0, 0, 0.08) 85%,
    transparent 100%
  );
}



/* =================
  loading
================= */
.loading {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  text-align: center;
  width: 100%;
  max-width: 500px;
  padding: 0 20px;
}

.loading-logo {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 5px;
  color: #000;
  margin-bottom: 28px;
  line-height: 1.4;
}

/* 回路風ローダー */
.circuit-loader {
  position: relative;
  width: 240px;
  height: 24px;
  margin: 0 auto;
}

.circuit-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #000;
  transform: translateY(-50%);
  animation: circuitLineMove 1.8s ease forwards;
}

.circuit-dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1.5px solid #000;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.dot1 {
  left: 20%;
  animation: dotFade 0.3s ease forwards;
  animation-delay: 0.35s;
}

.dot2 {
  left: 45%;
  animation: dotFade 0.3s ease forwards;
  animation-delay: 0.75s;
}

.dot3 {
  left: 70%;
  animation: dotFade 0.3s ease forwards;
  animation-delay: 1.1s;
}

.dot4 {
  left: 100%;
  animation: dotFade 0.3s ease forwards;
  animation-delay: 1.45s;
}

/* 少し回路感を出すための短い枝線 */
.circuit-loader::before,
.circuit-loader::after {
  content: "";
  position: absolute;
  width: 1.5px;
  height: 10px;
  background: #000;
  opacity: 0;
}

.circuit-loader::before {
  left: 45%;
  top: 1px;
  animation: branchFade 0.3s ease forwards;
  animation-delay: 0.9s;
}

.circuit-loader::after {
  left: 70%;
  bottom: 1px;
  animation: branchFade 0.3s ease forwards;
  animation-delay: 1.2s;
}

@keyframes circuitLineMove {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes dotFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes branchFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* =================
  header
================= */

.header {
  height: 75px;
  background: #131313;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s;
}

.header .container {
  max-width: 1400px;
}

.header.hide {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header-logo img {
  height: 75px;
}

/* ナビ */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 75px;
  padding: 0 18px;
  color: #fff;
  position: relative;
}

.nav-en {
  font-size: 15px;
  letter-spacing: 1px;
}

.nav-ja {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 2px;
}

/* ホバー線 */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: 0.3s;
}

.nav-item:hover::after {
  width: 60%;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.264);
}

/* お問い合わせボタン */
.contact-btn {
  margin-left: 15px;
  padding: 8px 24px;
  background: #fff;
  color: #000;
  border-radius: 3px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #000;
  transition: 0.3s;
  z-index: 0;
}

.contact-btn span {
  position: relative;
  z-index: 1;
}

.contact-btn:hover {
  color: #fff;
}

.contact-btn:hover::before {
  width: 100%;
}

.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* =================
  HERO
================= */

.hero {
  height: 100dvh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background:
    linear-gradient(
      100deg,
      rgba(10,10,10,1) 0%,
      rgba(15,15,15,0.9) 35%,
      rgba(30,30,30,0.6) 60%,
      rgba(0,0,0,0) 100%
    ),
    url("images/top_home.webp") center/cover no-repeat;
  color: #fff;
  position: relative;
}

/* コンテンツ */
.hero-container {
  max-width: 1200px;
  margin-left: 120px;
  padding: 0 20px;
}

/* タイトル */
.hero-title {
  font-size: 48px;
  letter-spacing: 3px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 60px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
}

/* 日本語テキスト */
.hero-text {
  font-size: 25px;
  line-height: 1.8;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.5s;
}

/* 英語 */
.hero-en {
  font-size: 26px;
  color: #c32d2d;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 1s;
}

/* スクロール */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.7;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1.5s;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -40px;
  width: 100%;
  height: 40px;
  background: #fff;
  animation: scrollMove 1.6s infinite;
}

@keyframes scrollMove{
  0%{
  transform:translateY(-20px);
  opacity:0;
  }
  50%{
  opacity:1;
  }
  100%{
  transform:translateY(50px);
  opacity:0;
  }
}

/* =================
  ABOUT
================= */

.about-wrapper {
  max-width: 1400px;
  margin: 0 ;
  background: #fff;
}

.about-flex {
  display: flex;
}

.about-left {
  width: 30%;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff;
}

/* 背景バー */
.about-left .bg-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-left .bg-bars span {
  position: absolute;
  top: -100%;
  width: 33.33%;
  height: 100%;
  background-image: url("images/about_section_01.webp");
  background-size: 300% 100%;
  transition: top 0.8s ease;
}

.about-left .bg-bars span:nth-child(1){
  left: 0;
  background-position: 0% 50%;
}

.about-left .bg-bars span:nth-child(2){
  left: 33.33%;
  background-position: 50% 50%;
}

.about-left .bg-bars span:nth-child(3){
  left: 66.66%;
  background-position: 100% 50%;
}

/* アニメーション */
.about-left.active .bg-bars span {
  top: 0;
}

.about-left.active .bg-bars span:nth-child(2){
  transition-delay: 0.2s;
}

.about-left.active .bg-bars span:nth-child(3){
  transition-delay: 0.4s;
}

.about-left.active .bg-bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* タイトル */
.about-left-inner {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.6s ease;
  text-align: center;
}

.about-left.active .about-left-inner {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}

/* 左の縦線 */
.about-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 2px;
  height: 120px;
  background: #fff;
}

.about-right {
  width: 70%;
  background: #fff;
  color: #000;
  padding: 80px 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ロゴ背景 */
.about-right::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 40px;
  width: 420px;
  height: 260px;
  background-image: url("images/company.logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
}

.about-right > * {
  position: relative;
  z-index: 1;
}

/* アニメーション */
.about-flex.active .about-right {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

.about-right h2 {
  font-size: 45px;
  margin-bottom: 30px;
  font-weight: 400;
}

.about-right p {
  font-size: 20px;
  line-height: 1.8;
  font-weight: 400;
}

.about-btn {
  margin-top: 100px;
  display: flex;
  justify-content: center;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 30px;
  border: 2px solid #1a191a;
  border-radius: 4px;
  font-size: 16px;
  color: #1a191a;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.about-link::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: #1a191a;
  transition: width 0.4s ease;
  z-index: 0;
}

.about-link span {
  position: relative;
  z-index: 1;
}

.about-link:hover {
  color: #fff;
}

.about-link:hover::before {
  width: 100%;
}

/* 矢印 */
.about-arrow {
  transition: transform 0.3s;
}

.about-link:hover .about-arrow {
  transform: translateX(6px);
}


/* =================
  SERVICE
================= */

.service {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.service-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  padding-bottom: 30px;
}

/*  タイトルエリア */
.service-heading-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100vw; 
  margin-left: calc(50% - 50vw);
  height: 240px;
  min-height: 320px;
}

.service-bars {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 1;
}

.service .section-title {
  font-size: 56px;
}

.service-heading-wrap.active .service-bars {
  width: 100%;
}

.service-bars span {
  width: 100%;
  height: 33.33%;
  transform: translateX(-100%);
  background-image: 
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("images/service_section.webp");
  background-size: 100% 300%;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}

.service-bars span:nth-child(1) { background-position: 0% 0%; }
.service-bars span:nth-child(2) { background-position: 0% 50%; }
.service-bars span:nth-child(3) { background-position: 0% 100%; }

.service-heading-wrap.active .service-bars span:nth-child(1) {
  transform: translateX(0);
  transition-delay: 0.2s;
}
.service-heading-wrap.active .service-bars span:nth-child(2) {
  transform: translateX(0);
  transition-delay: 0.4s;
}
.service-heading-wrap.active .service-bars span:nth-child(3) {
  transform: translateX(0);
  transition-delay: 0.6s;
}

/* タイトル文字 */
.service-title-inner {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s;
  color: #fff;
}

.service-heading-wrap.active .service-title-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/*  説明文 */
.service-content {
  margin: 100px 0;
}

.service-content h2 {
  font-size: 45px;
  margin: 0 0 30px;
  line-height: 1.4;
  font-weight: 400;
}

.service-content p {
  font-size: 20px;
  line-height: 2;
}

/*  スライダー */
.service-slider {
  margin-top: 60px;
  overflow: hidden;
  position: relative;
}

/* グラデーション（左右フェード） */
.service-slider::before,
.service-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.service-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.service-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

/*  カード */
.service-card {
  background: #fff;
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.6s ease;
}

.service-text {
  padding: 25px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
}

/*  ボタン */
.service-btn {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

/*  オーバーレイ */

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: 0.4s ease;
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-overlay span {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  transform: translateY(10px);
  transition: 0.4s;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-card:hover .service-overlay span {
  transform: translateY(0);
}

.service-card:hover img {
  transform: scale(1.08);
}

/* =================
  quality
================= */

.quality {
  padding: 0 0 0px;
  background: #fff;
}

.quality-wrapper {
  max-width: 1400px;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* 左タイトル帯 */
.quality-left {
  position: relative;
  flex: 0 0 30%;
  min-height: 640px;
  overflow: hidden;
}

/* 背景バー */
.quality-left .bg-bars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.quality-left .bg-bars span {
  position: absolute;
  top: -100%;
  width: 33.333%;
  height: 100%;
  background-image: url("images/qualitysection.webp");
  background-size: 300% 100%;
  background-repeat: no-repeat;
  transition: top 0.8s ease;
}

.quality-left .bg-bars span:nth-child(1) {
  left: 0;
  background-position: 0% 50%;
}

.quality-left .bg-bars span:nth-child(2) {
  left: 33.333%;
  background-position: 50% 50%;
}

.quality-left .bg-bars span:nth-child(3) {
  left: 66.666%;
  background-position: 100% 50%;
}

/* オーバーレイ */
.quality-left .bg-bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* activeでバーが下りてくる */
.quality-left.active .bg-bars span {
  top: 0;
}

.quality-left.active .bg-bars span:nth-child(2) {
  transition-delay: 0.15s;
}

.quality-left.active .bg-bars span:nth-child(3) {
  transition-delay: 0.3s;
}

/* タイトル */
.quality-title-inner {
  position: absolute;
  top: 80px;
  left: 60px;
  z-index: 2;
  opacity: 0; 
  transform: translateY(-30px); 
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.quality-left.active .quality-title-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.quality-left .section-title {
  display: block;
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 18px;
}

.quality-left .section-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  margin: 0;
  text-align: center;
}

/* 右側 */
.quality-main {
  flex: 1;
  min-width: 0;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
}

.quality-content {
  display: block;
  align-items: center;
  gap: 40px;
}

.quality-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 20px;
}

.quality-text h2 {
  font-size: 45px;
  margin: 0 0 30px;
  line-height: 1.4;
  font-weight: 400;
}

.quality-text p {
  text-align: center;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  margin: 0;
}

.quality-iso {
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid #e5edf3;
  max-width: 500px;
  opacity: 0.65;
}

.quality-lead{
  text-align: left;
  font-size:13px;
  margin:0 0 14px;
  letter-spacing:0.08em;
}

.quality-iso-text {
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* ボタン余白 */
.quality .about-btn {
  margin-top: 100px;
  text-align: center;
}

/* =================
  TOPICS
================= */
.news {
  padding: 0 0 0px;
  background: #fff;
}

.news-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* 左タイトル帯 */
.news-left {
  position: relative;
  flex: 0 0 30%;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

/* 背景バー */
.news-left .bg-bars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.news-left .bg-bars span {
  position: absolute;
  top: 0;
  width: 33.333%;
  height: 100%;
  background-image: url("images/news_section.webp");
  background-size: 300% 100%;
  background-repeat: no-repeat;
}

.news-left .bg-bars span:nth-child(1) {
  left: 0;
  background-position: 0% 50%;
}

.news-left .bg-bars span:nth-child(2) {
  left: 33.333%;
  background-position: 50% 50%;
}

.news-left .bg-bars span:nth-child(3) {
  left: 66.666%;
  background-position: 100% 50%;
}

.news-left .bg-bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* タイトル位置 */
.news-title-inner {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  text-align: center;
}

.news-left .section-title {
  display: block;
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 18px;
}

.news-left .section-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  margin: 0;
}

/* 右側 */
.news-main {
  flex: 1;
  min-width: 0;
  padding: 120px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  transform: translateX(60px);
}

.news-content h2 {
  font-size: 36px;
  margin: 0 0 40px;
  line-height: 1.4;
  text-align: center;
}

.news-list {
  background: #fff;
  padding: 40px 60px;
  width: 100%;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid #e7e7e7;
}

.news-item:last-child {
  border-bottom: none;
}

.newspage-time {
  min-width: 140px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.newspage-link {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}

/* クリックできるお知らせ */
.clickable {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.clickable::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: #333;
  transition: 0.3s;
}

.clickable:hover::after {
  width: 100%;
}

/* バー初期位置 */
.news-left .bg-bars span {
  position: absolute;
  top: -100%;
  width: 33.333%;
  height: 100%;
  background-image: url("images/news_section.webp");
  background-size: 300% 100%;
  background-repeat: no-repeat;
  transition: top 0.8s ease;
}

.news-title-inner {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 2;
  width: 100%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-left.active .news-title-inner {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0.45s;
}

/* activeで降りる */
.news-left.active .bg-bars span {
  top: 0;
}

.news-left.active .bg-bars span:nth-child(2) {
  transition-delay: 0.15s;
}

.news-left.active .bg-bars span:nth-child(3) {
  transition-delay: 0.3s;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: min(90vw, 500px);
  margin: auto;
  background: #000;
}

#modalVideo {
  width: 100%;
  height: 80vh;
  max-height: 700px;
  border: none;
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10000;
}

/* =================
  recruit
================= */

.recruit {
  background:url(images/recruit_02.png) center/cover no-repeat;
  background-color: #fcfcfc;
  padding:120px 0;
  position:relative;
  text-align:center;
  overflow: hidden;
}

.recruit::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:0;
}

.recruit-inner{
position:relative;
display:flex;
justify-content:flex-end;
z-index: 1;
}

.recruit-content{
max-width:590px;
color:#fff;
}

.recruit-content h2{
font-size:28px;
margin:20px 0;
}

.recruit-content p{
font-size:16px;
line-height:1.9;
}

.recruit .section-title{
color:#fff;
}

.recruit .section-subtitle{
color:#fff;
}

.about-btn .recruit-link{
display:inline-flex;
align-items:center;
gap:10px;
background:#000;
color:#fff;
border:1px solid #fff;
padding:12px 28px;
text-decoration:none;
transition:0.3s;
}

.about-btn .recruit-link:hover{
background:#fff;
color:#000;
}

.about-btn .recruit-link:hover .about-arrow{
color:#000;
}

.about-arrow{
margin-left:8px;
transition:0.3s;
}

.recruit-link:hover .about-arrow{
transform:translateX(5px);
}

/* page-top */

.page-top{
position:fixed;
right:30px;
bottom:30px;
width:50px;
height:50px;
background:#000;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
font-size:20px;
border-radius:50%;
opacity:0;
visibility:hidden;
transition:0.3s;
z-index:1000;
}

.page-top.show{
opacity:1;
visibility:visible;
}

.page-top:hover{
background:#333;
}

html{
scroll-behavior:smooth;
}

/* =================
  footer
================= */
.footer {
  background: #191919;
  border-top: 1px solid #333;
  padding: 30px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 60px;
}

.footer-left p {
  margin-top: 10px;
  font-size: 12px;
  color: #ccc;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ccc;
  font-size: 13px;
  position: relative;
  padding-right: 15px;
}

.footer-nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #777;
}

.footer-nav a:hover {
  color: #fff;
}

.seo-text {
  padding: 40px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.common-btn {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.common-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 240px;
  padding: 16px 32px;
  border: 2px solid #1a191a;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #1a191a;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  background: transparent;
}

.common-link::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: #1a191a;
  transition: width 0.4s ease;
  z-index: 0;
}

.common-link span {
  position: relative;
  z-index: 1;
}

.common-link:hover {
  color: #fff;
}

.common-link:hover::before {
  width: 100%;
}

.common-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.common-link:hover .common-arrow {
  transform: translateX(6px);
}