* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  font-family: sans-serif;
}

.firstview {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.overlay-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh !important;
  z-index: 10;
  transform-origin:  left center;
  transform: scale(10);
  animation: waveZoom 4s ease-out forwards;
  pointer-events: none;
}

@keyframes waveZoom {
  0% {
    transform: scale(20);
  }
  100% {
    transform: scale(1) translateZ(0);
  }
}

.overlay-wave {
  transition: opacity 1.5s ease-out;
  opacity: 1;
}



/* オープニングロゴ */
.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  opacity: 0;
  transform: translate(-50%, 40px) scale(0.8);
  animation: logoRise 3.6s ease-out forwards;
  z-index: 100;
}

@keyframes logoRise {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, 0px) scale(1);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, 0px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -40px) scale(1.1);
  }
}




/* ==== HEADER + LOGO ==== */
.site-header {
  display: flex;
  justify-content: flex-start; /* 左寄せで調整しやすく */
  align-items: center;
  padding: 12px 16px;
  gap: 60px; /* ロゴとメニューの間に余白 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.4); /* 透け感あり */
}

/* ==== LOGO ==== */
.site-header .logo,
header .logo {
  height: 20px;
  z-index: 11;
  margin-top: -10px;
  width: auto;
  margin-left: 0;

  opacity: 0;
  transform: translateY(-10px);
  animation: fadeInLogo 1s ease-out 4.5s forwards;
}

/* 右上のロゴだけ大きくする */
.logo2 {
  height: 45px !important;
  margin-top: -5px !important;
}


/* ==== MENU ==== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 22px;
  font-size: 17px;
  margin-top: 5px;

  opacity: 0;
  transform: translateY(-10px);
  animation: fadeInNav 1s ease-out 4.5s forwards; /* ← ロゴのあとに出てくる */
}

/* ==== アニメーション定義 ==== */
@keyframes fadeInLogo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInNav {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu a {
  font-size: 18px !important;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  transition: 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}


/* メニューリンク（ホバーエフェクト付き） */
.nav-menu a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

/* ▼ アンダーライン：ロゴ以外 */
.nav-menu a:not(.logo-link)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #63a2ff;
  transition: width 0.3s ease;
}

/* ▼ ズーム：ロゴ以外 */
.nav-menu a:hover:not(.logo-link) {
  transform: scale(1.05);
}

.nav-menu a:hover:not(.logo-link)::after {
  width: 100%;
}

/* ▼ ロゴリンクはアンダーラインもズームも無効化 */
.nav-menu a.logo-link {
  transform: none !important;
}

.nav-menu a.logo-link::after {
  display: none !important;
  content: none !important;
}

/* 公式サイトリンク画像 */
.officialsite {
  height: 60px;
  transform: translateY(-8px);
  margin-top: 0px;
  width: 70px;
}






/* ==== ABOUTセクション ==== */
.about {
  margin-top: -5px;
  padding: 100px 40px;
  background-color: #fff;
}

.about-title {
  width: 200px;
}

.about-text {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
}

/* ==== FIRST VIEW ==== */
.first-view {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.firstview::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  z-index: 100;
}

.wave-first-view {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
}

.fv-text {
  position: absolute;
  left: 10%;
  bottom: 20%;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.mask-text {
  display: inline-block;
  background: linear-gradient(90deg, #B8E6FC 50%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mask-text br {
  line-height: 1.2;
}

/* ==== アニメーション・表示処理 ==== */
.overlay-wave.finished {
  transform: none !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.firstview,
.overlay-wave,
.slideshow-bg,
.car-icon {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.overlay-wave {
  animation-fill-mode: forwards;
}

.main-content {
  opacity: 0;
  position: relative;
  z-index: 1;
  transition: opacity 1s ease;
}

.opening-finished .main-content {
  opacity: 1;
}



/* 追従バナー */
.floating-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 160px;
  height: 160px;
  z-index: 999999;
  opacity: 0;
  transition: opacity 1s ease;
}

.banner-circle {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-main {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 2;
}

.circle-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 230px;
  height: 230px;
  animation: rotateText 20s linear infinite;
  transform-origin: center center;
  z-index: 3;
  pointer-events: none;
  transform: translate(-35px, -35px) !important;
}

.circle-text text {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  fill: #002c3e;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 2px;
  transform-origin: center center;
  animation: rotateText 20s linear infinite;
}

@keyframes rotateText {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(360deg);
  }
}











/* キャッチコピー */
.catchcopy-svg .jp-text {
  font-family: 'Noto Sans JP', sans-serif;
}

.catchcopy-svg .subtitle-en {
  font-family: 'Poppins', sans-serif;
}

.catchcopy-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 4.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}







/* 背景スライドショーの共通設定 */
body {
  background-color: #000;
}

.firstview {
  position: relative;
  overflow: hidden;
}

.slideshow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity, transform;
}

/* 常に後ろにあるダミー背景（ズーム対象じゃない） */
.bg-fixed {
  background-image: url("images/sora.svg");
  opacity: 1;
  z-index: -1;
}

/* 表示中の画像 */
.slideshow-bg.visible {
  opacity: 1;
  z-index: 2;
  /* animation: zoomIn 6s ease-in-out forwards; ← 削除！ */
}

.animate-zoom-in {
  animation: zoomIn 8s ease-in-out forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.1);
  }
}

/* 画像指定 */
.bg1 {
  background-image: url("images/sora.svg");
}
.bg2 {
  background-image: url("images/umi.svg");
}
.bg3 {
  background-image: url("images/hukuoka.svg");
}








/* 波SVGの固定位置 */
.nami {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 波上テキスト調整 */
.nami-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 3.2vw;
  letter-spacing: 0.02em;
}
.nami-text.base {
  fill: #FFFFFF;
}
.nami-text.mask {
  fill: #2F3A45;
  mask: url(#wave-mask);
}





/* === 企業情報 === */
.overlay-layer {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.about {
  position: relative;
  width: 100%;
  padding: 100px 0;
  margin-bottom: -148px;
  background: white;
  overflow: hidden;
  z-index: 1;
}


.bg-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  opacity: 0.05;
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.aboutmaru {
  position: absolute;
  top: -5px;
  left: -80px;
  width: 110px;
  transform: scale(1);
  opacity: 1;
  transition: transform 2.5s ease, opacity 2.5s ease;
  z-index: 1;
}

@keyframes maruZoomOnce {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes maruZoomLoop {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 最初のアニメだけ用 */
.zoom-once {
  animation: maruZoomOnce 2s ease-out;
}

/* 永久ループは常に */
.aboutmaru,
.interviewmaru,
.newsmaru {
  animation: maruZoomLoop 5s ease-in-out infinite;
}

.aboutmaru.zoom-out {
  transform: scale(2);
  opacity: 0;
}

.about-title {
  width: 160px;
  margin-bottom: 20px;
  transform: translatex(-79px);
}

.about-text {
  position: relative;
  top: -85px;
  left: 150px;
  max-width: 650px;
  margin-bottom: 30px;
  transform: translate(180px, -80px);


  font-size: 1.1rem;      /* ← サイズ揃える */
  line-height: 2.3;       /* ← 行間揃える */
  color: #333;            /* ← 色揃える */
  font-weight: normal;    /* ← 太さデフォルト（調整不要ならこのまま） */
}

.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.5s ease-out;
}

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

.about-buttom {
  position: relative;
  top: -85px;         /* ← 上に20px移動 */
  left: 800px;         /* ← 右に40px移動 */
  margin-top: 0;      /* ← 不要なのでゼロに */
  width: 250px;
}

/* より強い優先度にする例 */
.about-buttom img {
  height: auto;
  display: block;
  transition: filter 0.3s ease; /* なめらかな変化 */
}

a.about-buttom img {
  width: 260px;
}

.about-buttom img:hover {
  filter: brightness(0.85);  /* ← 少し暗くするだけ */
}

/* 九州地図 */
.about {
  position: relative;
  z-index: 1;
  min-height: 800px;
}

.kyushu-map-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  z-index: 0;
  overflow: hidden;
}

.kyushu-map {
  position: absolute;
  top: 0px;
  left: 90%;
  transform: translateX(-50%);
  width: 650px;
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(-50%) rotate(5deg);

  /* 光沢演出 */
  filter: drop-shadow(-2px -2px 4px rgba(255,255,255,0.2)) 
          drop-shadow(2px 2px 4px rgba(0,0,0,0.05));
}

.map-wrapper {
  position: relative;
  z-index: 0;
}







/* OUR BUSINESS */
.ourbusiness-section {
  padding: 100px 0;
  position: relative;
}

.ourbusiness-wrapper {
  position: relative;
  display: inline-block;
}

.ourbusiness-overlay {
  position: absolute;
  top: -270px;
  left: 650px;
  transform: translate(-50%, -50%);
  font-size: 160px;
  font-weight: bold;
  letter-spacing: 0em;
  white-space: nowrap;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(173, 216, 230, 0.2),   /* ← 薄めの水色 */
    rgba(190, 230, 250, 0.15),  /* ← もっと薄い水色 */
    rgba(255, 255, 255, 0.1)    /* ← ほぼ透明な白 */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 10;
}





.business {
  position: relative;
  background: #f0fcff;
  padding-bottom: 60px; /* 波分の余裕 */
}

.wave-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  fill: none;
  overflow: visible;
  pointer-events: none;
  animation: waveMove 8s linear infinite;
  z-index: 10;
}

@keyframes waveMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}





/* 事業内容の背景 */
.karte-visual {
  padding-top: 100px;
  height: 1100px !important;
  min-height: unset !important;
  position: relative;
  width: 100%;
  padding: 120px 60px 500px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(235, 250, 255, 0.9) 25%,
    rgba(210, 240, 255, 0.8) 55%,
    rgba(180, 230, 255, 0.7) 100%
  );
  backdrop-filter: blur(3px); /* ちょっと弱めにして “くすみ”抑える */
  -webkit-backdrop-filter: blur(3px);
  overflow: visible;
  z-index: 1;
  margin-top: -550px;
}

.karte-content {
  position: relative;
  max-width: 900px;
  z-index: 2;
  margin-top: 163px;
}

.karte-content h1 {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
  color: #002c3e;
  margin-bottom: 20px;
  margin-top: 50px;
  padding-left: 160px;
  transform: translateY(100px);
  position: relative;
}

.karte-content p {
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
  padding-left: 160px;
  margin-top: 120px !important;
  transform: translateY(30px);
  position: relative;
}

/* 黄色マーカー */
.marked-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.marked-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.15em;
  height: 0.6em;
  background-color: rgb(179, 223, 252);
  width: 0%;
  z-index: -1;
  transition: width 0.8s ease-out;
}

.marked-text.first.visible::after {
  width: 100%;
  transition-delay: 0.8s;
}

.marked-text.second.visible::after {
  width: 100%;
  transition-delay: 1.6s;
}


/* 画像上の文字 */
.photo-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
  font-family: sans-serif;
}

.photo-label .jp {
  font-size: 1.2rem;
  font-weight: bold;
}

.photo-label .en {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 事業内容ボタン */
.business-button {
  position: relative;
  top: 140px;         /* ← 上に20px移動 */
  left: 350px;         /* ← 右に40px移動 */
  margin-top: 0;      /* ← 不要なのでゼロに */
  width: 250px;
  z-index: 100;
}

.business-button img:hover {
    filter: brightness(0.85);  /* ← 少し暗くするだけ */
}






/* カーブアニメーションを滑らか＋強カーブに */
@keyframes stream-curve-1 {
  0%   { transform: translate(0, 0) scale(0.8); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(900px, -50px) scale(1.6); opacity: 0; }
}
@keyframes stream-curve-2 {
  0%   { transform: translate(0, 0) scale(0.7); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translate(1100px, -200px) scale(1.8); opacity: 0; }
}
@keyframes stream-curve-3 {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translate(1200px, -300px) scale(2.0); opacity: 0; }
}
@keyframes stream-curve-4 {
  0%   { transform: translate(0, 0) scale(0.9); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translate(800px, -350px) scale(1.5); opacity: 0; }
}
@keyframes stream-curve-5 {
  0%   { transform: translate(0, 0) scale(0.8); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translate(1000px, -600px) scale(1.7); opacity: 0; }
}

.curve-1 { animation: stream-curve-1 8s ease-in-out forwards; }
.curve-2 { animation: stream-curve-2 10.5s ease-in-out forwards; }
.curve-3 { animation: stream-curve-3 12s ease-in-out forwards; }
.curve-4 { animation: stream-curve-4 14.2s ease-in-out forwards; }
.curve-5 { animation: stream-curve-5 16.8s ease-in-out forwards; }

/* 画像ホバー効果 */
.photo-clip {
  overflow: hidden;
}

.photo-clip img {
  transition: transform 0.4s ease;
}

.photo-link:hover .photo-clip img {
  transform: scale(1.05);
}






/* 事業内容背景 */
/* ビジュアルセクション全体 */
.visual-section {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* ← 追加！ここ！ */
  gap: 60px;
  padding-top: 100px; /* 上にスペース作っておこう */
}


/* フレーム＋画像を抱える要素 */
.photo-frame {
  position: absolute;
  top: -1100px; /* 上に浮かす */
  left: 22%; 
  transform: translateX(-50%);
  z-index: 3;
}



/* 丸フレームと影 */
.photo-clip {
  width: 400px;
  height: 400px; /* 高さ統一 */
  border-radius: 50% 45% 55% 50% / 50% 55% 45% 50%;
  overflow: hidden !important;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  /* フレーム自体が上がるので margin は不要に */
}

/* 個別高さ調整 */
.photo-clip.orosi {
  height: 360px;
  left: 1000px;
  margin-top: -100px;
}
.photo-clip.renta {
  height: 360px;
  left: -100px;
  margin-top: 330px;
}



/* 画像をフレームいっぱいに */
.photo-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute !important;
  z-index: auto;
}

/* ラベルの調整 */
.photo-label {
  position: absolute !important;
  right: 16px !important; /* 右の余白 */
  bottom: 16px !important; /* 下の余白 */
  background: none;
  padding: 0;
  border-radius: none;
  box-shadow: none;
  color: #ffffff !important;
  font-family: "Noto Sans JP", sans-serif;
  z-index: 999999 !important;
  pointer-events: none !important;
}

/* ラベル内の日本語・英語テキスト */
.photo-label .jp,
.photo-label .en {
  margin: 0;
  /* フォントサイズ微調整 */
  display: block;
  margin-left: -800px !important;
}
.photo-label .jp {
  font-size: 1.4rem;
  font-weight: bold;
}
.photo-label .en {
  font-size: 1.1rem;
  opacity: 0.8;
}

.label-orosi {
  position: absolute;
  margin-top: 155px !important;
  right: 0px;
  z-index: 1000;
  transform: translateX(395px);/* レンタカー */
  text-align: center;
}

.label-renta {
  position: absolute;
  z-index: 100;
  margin-top: 465px;
  right: 30px !important;
  transform: translateX(300px);/* 車両卸業 */
  text-align: center;
}

.photo-frame {
  position: relative;
  z-index: 0;
}

.photo-number {
  position: absolute;
  font-size: 6rem;
  font-weight: bold;
  color: #3956a8; /* ネイビーのベース色 */
  z-index: 999999 !important;
  pointer-events: none;
  font-family: 'Arial', sans-serif;
  margin-top: -430px;

     background: linear-gradient(
    135deg,
    #2a3e65 0%,
    #3f5485 40%,
    #5a6fa0 60%,
    #3b507a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    1px 1px 1px rgba(0,0,0,0.15),
    2px 2px 3px rgba(0,0,0,0.25);
}

/* 個別に位置調整 */
.photo-number.num1 {
  top: -160px;
  left: 470px;
  transform: translateX(-50%);
}

.photo-number.num2 {
  top: 720px;
  left: -40px;
  transform: translateX(-50%);
}


.animate-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-card.show {
  opacity: 1;
  transform: translateY(0);
}



.animate-orosi,
.animate-renta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-orosi.show,
.animate-renta.show {
  opacity: 1;
  transform: translateY(0);
}



/* 波 */
.wave-container {
  position: relative;
  width: 300%;
  height: 170px;
  overflow: visible;
  left: 0%;
  transform: rotate(-15deg) translateY(30px);
  transform-origin: left top;
  z-index: 1;
  top: -350px;
}

.wave-line {
  width: 100%;
  height: 100%;
  display: block;
}

.visual-section {
  position: relative;
  z-index: 120;
}

.photo-frame {
  position: relative;
  z-index: 3;
}

.wave-line,
.wave-fill {
  position: absolute !important;
  z-index: 1 !important;
}

.visual-section,
section.interview,
.visual-section > *,
section.interview > * {
  overflow: visible !important;
}

.wave-line path {
  animation: waveMove 10s linear infinite;
  transform-origin: left center;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1800px);
  }
}









/* interview */
.interview {
  width: 100%;
  background: #ffffff;
  padding: 60px 0;
  margin-top: -230px;
} 

.interviewmaru {
  display: block;
  margin: 0 auto;
  width: 110px;
  margin-top: -727px;
  left: -525px;
}

.interview-title {
  display: block;
  margin: 0 auto 20px;
  width: 270px;
  margin-top: -70px;
  margin-left: 410px !important;
}

.interview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 0 30px;
}

.interview-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  font-weight: 550;
  margin: 0;
  margin-top: -545px !important;
  right: -600px;
}

.more-button {
  display: inline-block;
  background-color: #0077be;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  margin-top: 440px !important;
  position: relative;
  z-index: 1000;
  left: -400px;
}

.more-button:hover {
  background-color: #005f9e;
  cursor: pointer;
}

.interview-cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 40px;
  padding: 0 30px;
  scroll-snap-type: x mandatory;
  margin-top: -470px;
}

.interview-card {
  flex: 0 0 auto;
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  left: 90px;
}

.interview-card:hover {
  transform: translateY(-5px);
}

.interview-image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.interview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-top: 10px;
}

.info {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.card-link {
  text-decoration: none !important;
  color: inherit !important;
}








/* ボタン */
.interview-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  animation: none; /* JS制御に任せる */
  width: 100%;
}

.interview-cards::-webkit-scrollbar {
  display: none; /* 横スクロールバーを非表示に */
}

/* カードが絶対に前面に表示されるように */
.interview-card,
.interview-cards,
.interview-title,
.interview-desc,
.interviewmaru,
.interview-footer,
.photo-frame,
.photo-clip {
  position: relative !important;
  z-index: 99999 !important;
  isolation: isolate !important;
}






/* recruit */
.recruit {
  background: linear-gradient(to bottom, #71b8f0 0%, #d2eafc 100%);
  padding-top: 40px;
  margin-top: -110px !important;
  position: relative;
  z-index: 1000 !important;
  height: 600px;
}

.recruit-inner {
  display: flex;
  justify-content: flex-start;   /* ← 全部左から並べる */
  align-items: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  gap: 80px;                      /* ← 左テキストと右画像の間隔ここで調整 */
  position: relative;
  min-height: 600px;
  margin-top: -25px;
  height: 700px;
}

.recruit-content {
  flex: 0 0 500px;                /* ← 固定幅で左側のサイズ指定 */
}

/* タイトル位置調整 */
.recruit-title {
  position: absolute;
  top: 100px;
  left: 70px;
  width: 190px;
}

/* テキスト位置調整 */
.recruit-text {
  position: absolute;
  top: 190px;
  left: 70px;
  font-size: 19px;
  line-height: 1.8;
  font-weight: 500;
  color: white;
  max-width: 420px;
}

/* ボタン位置調整 */
.recruit-button {
  position: absolute;     /* ← これで座標指定できる */
  top: 350px;             /* ← 好きなだけ上へ移動しろ */
  left: 70px;            /* ← 好きなだけ右へ移動しろ */
  width: auto;
}

.recruit-button img {
  width: 250px;             /* ← サイズUP（好きに変えて） */
  transition: transform 0.3s ease;
}

.recruit-button img:hover {
  filter: brightness(0.85);  /* ← 少し暗くするだけ */
}

.recruit-images {
  position: relative;       /* ← absoluteやめる */
  top: -30px;                   /* ← 初期化 */
  margin-top: 40px;         /* ← 好きに調整 */
  right: -310px;              /* ← 忘れず消す */
  height: 550px;
  display: flex;
  gap: 10px;
  z-index: 2;
  overflow: hidden;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* 上下アニメーションの方向 */
.scroll-up {
  animation-name: scrollUp;
}

.scroll-down {
  animation-name: scrollDown;
}

.image-column img {
  flex-shrink: 0;
  object-fit: cover;
}

.image-wide {
  width: 200px;
  height: 140px;
}

.image-tall {
  width: 200px;
  height: 220px;
}

/* アニメーション：倍量でループ用 */
@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes scrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.recruit::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/sora.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.recruit {
  position: relative;
  z-index: 1;
}

/* 社員インタビュー・求人セクションの説明文　アニメーション */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.5s ease-out;
}
.animate-fade.show {
  opacity: 1;
  transform: translateY(0);
}










/* 共通セクション */
.section-en {
  font-size: 12px;
  color: #007acc;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.section-ja {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
}


/* ==== NEWS ==== */
.news {
  position: relative;
  background: #fff;
  padding: 80px 20px;
}

.newsmaru {
  position: absolute;
  top: 100px;      /* ← 下に下げるなら数値を大きく */
  left: 370px !important;     /* ← 右に寄せたいなら -50px → -100px と調整 */
  width: 110px !important;
  opacity: 1;
  transform: scale(1.3);
  transition: transform 2.5s ease, opacity 2.5s ease;
  z-index: 2;
}

.news-title {
  width: 130px !important;              /* タイトル画像の横幅（必要に応じて調整） */
  margin-bottom: 40px;       /* 下の余白 */
  transform: translateX(-40px); /* 左からスライド風位置調整（任意） */
  margin-top: 30px;
}

.newsmaru.zoom-out {
  transform: scale(2);
  opacity: 0;
}

.news-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.news-button {
  background-color: #0066cc;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.news-button:hover {
  background-color: #004999;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ccc;
}

.news-item {
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}

.news-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.news-date {
  color: #007acc;
  font-weight: bold;
  font-size: 14px;
}

.news-tag {
  background: #007acc;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 20px;
}

.news-text {
  font-size: 16px;
  color: #333;
}

/* お問合せの残像消してる */
.ghost-hider {
  position: fixed;
  top: 2800px;     /* 必要なら見える位置に */
  left: 0;
  width: 100%;
  height: 200px;
  background: white;
  z-index: 9999;
  pointer-events: none;
}


/* LINEバナー */
.news-line-link {
  margin: 40px auto 20px; /* セクション下に余白 + 上寄せ下余白 */
  text-align: center;
}

.line-icon {
  margin-bottom: 140px;
  width: 400px; /* アイコンの大きさはお好みで調整可能 */
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.line-icon:hover {
  opacity: 0.8; /* ホバー時に少し透過して反応感アップ */
}



/* フッター */
.site-footer {
  position: relative;
  background-color: #0B1E32;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(#0B1E32, #0B1E32);
  background-repeat: repeat;
  background-size: 20px 20px, cover;
  padding: 60px 20px 20px;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}
.footer-top h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.footer-top p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 40px 0;
}

.footer-logo {
  max-width: 280px;
}
.footer-logo img {
  width: 160px;
  margin-bottom: 10px;
}
.footer-logo p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-icon-group {
  margin-top: 10px;
}
.footer-icon-group a {
  display: inline-block;
  margin-right: 12px; /* アイコン間の余白 */
}
.footer-icon-group img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* 白アイコン */
}

.footer-nav {
  display: flex;
  margin-left: 0px;
  gap: 70px;
}
.footer-nav h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 130px;
  font-size: 13px;
  opacity: 0.7;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.footer-nav a:hover {
  border-bottom: 1px solid #fff;
}

/* □ LINEバナーとのスペースを調整したい場合は以下を追加 */
.site-footer {
  margin-top: 40px; /* 必要に応じて調整 */
}



/* line・Instagramアイコン */
.footer-icon-group a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-icon-group a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.sns-icon {
  width: 25px !important;
  height: 25px !important;
}


/* モバイル対応 */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
}




/* 背景強制上書き（白か透明） */
.interview,
.visual-section,
body,
html {
  background-color: white !important;
}








/* ========================================== */
/* 　　 モバイル対応・ハンバーガーメニュー　　　　*/
/* ========================================== */
.nav-menu {
  display: flex;
  gap: 20px;
}

.hamburger,
.mobile-nav {
  display: none;
}

/* ========= モバイル対応 ========= */
@media screen and (max-width: 768px) {
  html, body {
    font-size: 14px;
    overflow-x: hidden;
  }

    /* ヘッダー修正 */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;

    /* 🔧 修正ポイント */
    position: fixed;     /* ← relativeじゃ沈む。絶対に浮かべる。 */
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important; /* ← 背景いらないなら透過 */
    z-index: 1000;       /* ← 前面に出すために z-index 必須 */
  }

  /* PCナビ非表示 */
  .nav-menu {
    display: none !important;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 22px;
    z-index: 1100;
    cursor: pointer;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #003366;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 9px; }
  .hamburger span:nth-child(3) { bottom: 0; }

  /* モバイルメニュー */
 .mobile-nav {
  display: none;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.7); /* 透け感ありの黒 */
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 16px;
  z-index: 9999; /* ロゴやキャッチより前面に出す */
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

/* ハンバーガーアイコンも上に出しておく */
.hamburger {
  z-index: 10000;
}

/* ロゴを後ろに引っ込める（またはメニュー開いたら非表示でもOK） */
.site-header {
  z-index: 999;
}

/* キャッチフレーズを完全に消す */
.company-title {
  display: none;
  z-index: -100;
}

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav li {
    margin-bottom: 20px;
  }

  .mobile-nav a {
    color: #003366;
    text-decoration: none;
    font-size: 1.2rem;
  }

  /* キャッチコピー調整 */
 @media screen and (max-width: 768px) {
  .catchcopy-svg .jp-text {
    font-size: 2rem;
    fill: #003366; /* ネイビー */
  }

  .catchcopy-svg .subtitle-en {
    font-size: 1rem;
    fill: white;
  }
}





 /* ===================================== */
/* 　　 モバイル対応・ファーストビュー　　　　*/
/* ====================================== */
@media screen and (max-width: 768px) {
  .firstview {
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0;
  }

  .slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: -1;
    pointer-events: none;
  }

   .slideshow-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% center !important;  /* ←★ここを強制追加！ */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: slideshow 12s infinite;
  }

  .slideshow-bg img:nth-child(1) { animation-delay: 0s; }
  .slideshow-bg img:nth-child(2) { animation-delay: 4s; }
  .slideshow-bg img:nth-child(3) { animation-delay: 8s; }
}
}

/* スマホ用の背景調整 */
@media screen and (max-width: 768px) {
  .slideshow-bg.bg1,
  .slideshow-bg.bg2,
  .slideshow-bg.bg3 {
    background-position: 67% center !important; /* ←★右寄せに調整 */
    background-size: cover !important;
  }
}




/* ==================================== */
/* 　　 モバイル対応・キャッチコピー　　　　*/
/* ==================================== */
@media screen and (max-width: 768px) {
  .logo {
    display: block;
    position: fixed;
    top: 45px;
    left: 15px;
    width: 200px !important;
    height: auto;
    z-index: 1100;
  }
}

/* モバイル版キャッチコピー */
.catchcopy-mobile {
  display: none;
}

/* モバイルだけ表示 */
@media screen and (max-width: 768px) {
  .catchcopy-mobile {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 999;
  }


  .jp-line1 {
    font-size: 125px !important;
    y: 420; /* SVGのy属性を直接HTML内で調整しているため、ここは視覚用 */
  }

  .jp-line2 {
    font-size: 118px !important;
    y: 460;
  }

  .subtitle-en {
    font-size: 55px !important;
    y: 510;
  }
}

@media screen and (max-width: 768px) {
  .catchcopy-mobile {
    transform: translateY(40px);
  }
}


/* PC用デフォルト：表示 */
.catchcopy-pc {
  display: block;
}

/* モバイル用デフォルト：非表示 */
.catchcopy-mobile {
  display: none;
}

/* モバイル画面だけで切り替え */
@media screen and (max-width: 768px) {
  .catchcopy-pc {
    display: none;
  }

  .catchcopy-mobile {
    display: block;
  }
}

/* 追従バナー */
@media screen and (max-width: 768px) {
  .banner {
    width: 90px !important;
    top: 823px !important;
    left: 270px !important;
  }
}
@media screen and (max-width: 768px) {
  .circle {
    width: 130px !important;
    top: 0px !important;
    left: 15px !important;
  }
}












/* ==================================== */
/* 　　 　モバイル対応・企業概要　　　　　　*/
/* ==================================== */
@media screen and (max-width: 768px) {
   .about-content {
    position: relative;
    z-index: 100;
    background: white;
  }

  .aboutmaru {
    display: none;
  }

  .about-title {
  width: 105px;
  margin-top: -55px !important;     /* ← 上に押し出さない */
  left: 92px !important;    /* ← 左にも押し出さない */
  display: block !important;      /* 念のため明示 */
  position: relative !important;  /* 重なり調整のため */
  z-index: 10000 !important;      /* 前面に表示 */
}

  .about-text {
    font-size: 14px;
    line-height: 1.9;
    top: 10px;
    left: 0px;
    word-break: break-word;
    max-width: 90%;
    margin: 0 auto;
  }

  .about-buttom {
  display: block;
  width: 130px;
  z-index: 30;
  left: 220px;
  margin-top: 30px;
}

.about-buttom img {
  width: 100% !important;
  margin-top: 80px !important;
  height: auto;
  display: block;
}
}

/* ==================================== */
/* 　　 　モバイル対応・事業内容　　　　　　*/
/* ==================================== */
@media screen and (max-width: 768px) {
  .karte-visual {
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: 830px !important;
}

  .karte-content {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  margin: 0 auto;
  margin-left: -215px;
  margin-top: 0 !important;}

  .karte-content h1 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 0 auto 20px;
  text-align: center;
  word-break: keep-all;
  white-space: normal;
  margin-left: 73px;
  top: 50px !important;
 }

  .karte-content .marked-text {
  display: inline;
  white-space: normal;
 }

 .marked-text{
  margin-left: 7px !important;
  }

  .karte-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  top: 50px;
  white-space: normal;
  word-break: keep-all;
  text-align: left;
  width: 100%;
  max-width: 90%; /* お好みで調整 */
  margin-inline: auto; /* 中央寄せ */
  margin-left: 73px;
}

/* ============================================ */
/* 　　 　モバイル対応・事業内容・ボタン　　　　　　*/
/* ============================================ */
  .business-button {
    text-align: center;
    margin: 20px 0;
    left: 210px !important;
    top: 520px !important;
  }

  .business-button img {
    width: 160px !important;
    height: 100px !important;
  }

  .ourbusiness-overlay {
    font-size: 2rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    color: #003366;
    z-index: 50;
    opacity: 1;
    padding: 20px 0;
  }

  .ourbusiness-section {
    position: relative;
    height: auto;
    min-height: 100px;
  }

  .ourbusiness-wrapper {
    position: relative;
    overflow: visible;
  }

  .kyushu-map-container {
    width: 450px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    top: -120px;
    margin-left: -50px;
  }

  .kyushu-map {
    width: 80%;
    height: auto;
    margin-top: -10px !important;
  }

  .visual-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    top: 0px !important;
  }

  .photo-frame {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative !important;
  }


/* ================================
   モバイル修正：index（企業概要周り）
   PCの位置指定を無効化して、幅と余白を正常化
   ================================ */
@media (max-width: 768px){

  /* --- 位置リセット --- */
  .about-text,
  .karte-content,
  .karte-content h1,
  .karte-content p{
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  /* --- 本文幅・行間・下余白 --- */
  .about-text{
    max-width: 92% !important;
    margin: 0 auto 2.5rem !important;
    line-height: 1.9 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow: visible !important;
  }

  /* 見出しと本文 */
  .karte-content{
    width: 100% !important;
    max-width: 680px !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
  }
  .karte-content h1{
    font-size: 1.6rem !important;
    line-height: 1.35 !important;
    margin: 0 0 12px !important;
    text-align: left !important;
  }
  .karte-content p{
    max-width: 92% !important;
    margin: 0 auto 20px !important;
    line-height: 1.9 !important;
  }
}

/* ================================
   index モバイル最終修正
   ================================ */
@media (max-width: 768px){

  /* 企業概要と事業内容の間の余白をなくす */
  .about {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .karte-visual {
    margin-top: -550px !important;
    /* padding-top は不要。真っ白になる原因なので削除 */
  }

  /* コンテンツ幅と左右余白 */
  .karte-content{
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
  }

  /* 見出し：左寄せ＆サイズ調整 */
  .karte-content,
  .karte-content *{ text-align: left !important; }

  .karte-content h1{
    font-size: clamp(1.28rem, 4.6vw, 1.55rem) !important;
    line-height: 1.32 !important;
    margin: 4px 0 12px !important;
    max-width: 96% !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  /* 説明文：最初の段落だけ4行で固定 */
  .karte-content p{
    max-width: 96% !important;
    margin: 0 auto 18px !important;
    line-height: 1.9 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
  .karte-content p:first-of-type{
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* 企業概要ボタン（画像） */
  .about-buttom{
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    margin: 16px 16px 0 auto !important;
    text-align: right !important;
  }
  .about-buttom img{
    width: 160px !important;
    height: auto !important;
    display: inline-block !important;
    margin: 0 !important;
  }
}

/* ================================
   改行制御：スマホで br を無効化
   ================================ */
@media (max-width: 768px){
  .karte-content br {
    display: none;
  }
}









/* ============================================ */
/* 　モバイル対応・事業内容・レンタカー事業画像　　　*/
/* ============================================ */
  .photo-frame.animate-orosi .photo-clip {
    width: 240px;
    height: 240px;
    left: -33px;
    top: 260px;
    position: relative;
    z-index: 1;
  }

/* ============================================ */
/* 　　モバイル対応・事業内容・車両卸売事業画像　　　*/
/* ============================================ */
  .photo-frame.animate-renta .photo-clip {
    width: 240px;
    height: 240px;
    left: -122px;
    top: -140px;
    position: relative;
    z-index: 1;
  }

/* ====================================================== */
/* 　モバイル対応・事業内容・レンタカー事業・ラベルと数字　　　*/
/* ====================================================== */
  .photo-frame.animate-orosi .photo-label {
  font-size: 1.2rem;
  margin-top: 230px !important;
  display: inline-block; /* or block でもOK */
  width: 180px !important;           /* ← お好みで数値調整 */
  text-align: left;       /* 必要なら左寄せ */
}

  .photo-frame.animate-orosi .photo-number {
    font-size: 4rem;
    top: 260px !important;
    left: 25px!important;
  }

/* ====================================================== */
/* 　　モバイル対応・事業内容・車両卸売事業・ラベルと数字　　　*/
/* ====================================================== */
  .photo-frame.animate-renta .photo-label {
    font-size: 1.2rem;
    margin-top: 85px !important;
    left: 115px !important;
  }

  .photo-frame.animate-renta .photo-number {
    font-size: 4rem;
    margin-top: -545px !important;
    margin-left: 0px !important;
  }

  /* ラベルの中の日本語と英語に個別調整するならこれも */
  .photo-frame.animate-orosi .photo-label .jp {
    font-size: 1.1rem;
    margin-top: 100px;
    margin-right: 70px !important;
  }

  .photo-frame.animate-orosi .photo-label .en {
    font-size: 0.9rem;
    margin-left: 24px !important;
  }

  .photo-frame.animate-renta .photo-label .jp {
    font-size: 1.1rem;
    margin-top: 210px;
    margin-right: 10px !important;

  }

  .photo-frame.animate-renta .photo-label .en {
    font-size: 0.9rem;
    margin-left: -10px !important;

  }

  /* 数字 */
@media screen and (max-width: 768px) {
.photo-number {
  position: absolute;
  margin-top: -10px !important;
  left: 120px;
  z-index: 10;
  font-size: 4rem;
  color: #003366;
  font-weight: bold;
}
}

@media screen and (max-width: 768px) {
  .photo-frame {
    position: relative;
    z-index: 1;
  }

  .photo-clip {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

  .photo-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

  .photo-label {
    position: absolute !important;
    z-index: 99999 !important; /* ← 一番前に出す */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7) !important;
    background: none !important;
    pointer-events: none !important;
    display: block !important;
  }

  .photo-label .jp,
  .photo-label .en {
    display: block !important;
    color: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
}

/* ============================================ */
/* 　　 　　モバイル対応・事業内容・波　　　　　　　*/
/* ============================================ */
@media screen and (max-width: 768px) {
.wave-container{
    width: 300%;
    top: -200px;
}
}









/* ==================================== */
/* 　　 モバイル対応・社員インタビュー　 　*/
/* ==================================== */
@media screen and (max-width: 768px) {
  .interview {
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 100px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    margin-bottom: -700px !important;
  }

  .interview-title {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
    margin: 0 auto 20px;
    width: 49%;
    text-align: center;
    top: -1200px !important;
    left: -395px;
  }

  .interviewmaru {
    width: 50px;
    margin: 0 auto 20px;
    position: static !important;
    left: -300px;
  }

   .interview-desc {
    display: none !important;
  }

  .interview-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  margin-left: -4px !important;
  /* 不自然な位置指定を排除 */
  top: -920px !important;
}

.interview-card {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  border-radius: 16px;
  background-color: #fff; /* 白背景で整える */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 自然な影 */
  text-align: center;
  position: relative;
  left: auto !important;
  transition: all 0.3s ease; /* アニメーション */
}

.interview-card:hover {
  transform: translateY(-6px); /* ホバーで少し浮く */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.interview-image {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px; /* 画像下に余白 */
}

  .interview-card .job {
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1rem;
  }

  .interview-card:nth-child(2) .job {
    color: #003366;
  }

  .interview-card:nth-child(3) .job {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .interview-card:nth-child(4) .job {
    color: #444;
    font-weight: 600;
    font-size: 1.05rem;
  }

  .info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
  }

  .interview-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }

  .interview-nav .arrow {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #003366;
  }

  .interview-more-container {
    margin-top: 40px;
    text-align: center;
    width: 100%;
  }

  .more-button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #004999;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    top: -520px !important;
    left: 90px;
  }

  .more-button:hover {
    background-color: #003366;
    transform: translateY(-2px);
  }
}









/* ==================================== */
/* 　　　　 モバイル対応・求人　　　　　 　*/
/* ==================================== */
@media screen and (max-width: 768px) {
  .recruit {
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
  }

  .recruit-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: url("images/recruit-bg.jpg") center center / cover no-repeat;
    padding: 24px 16px;
    min-height: 140px;
    width: 100%;
    color: #fff;
    box-sizing: border-box;
  }

  .recruit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .recruit-title {
    width: auto;
    max-width: 150px;
    margin-bottom: 8px;
    margin-left: -25px;
  }

  .recruit-text {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
    margin-bottom: 12px;
    margin-left: -25px;
  }

  .recruit-button img {
  width: 200px; /* お好きなサイズに */
  height: auto;
  margin-left: -25px;
}

  .recruit-button:hover {
    background-color: #003f7a;
  }

  .interviewmaru {
    margin-left: -500px;
 }

}



/* ==================================== */
/* 　　　 モバイル対応・お知らせ　　　　 　*/
/* ==================================== */
@media screen and (max-width: 768px) {
.news {
  padding: 40px 20px;
  background-color: #fff;
}

.news-inner {
  max-width: 960px;
  margin: 0 auto;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.newsmaru {
  margin-left: -785px;
  margin-top: -5px;
  width: 50px !important;
} 

.news-title {
  height: auto;
  width: 100px !important;
  margin-left: 35px !important;
}

.news-button {
  background-color: #005BAC;
  color: #fff;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
  display: inline-block;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  border-top: 1px solid #ccc;
  padding: 20px 0;
}

.news-item:last-child {
  border-bottom: 1px solid #ccc;
}

.news-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  margin-bottom: 6px;
}

.news-date {
  color: #005BAC;
  font-weight: bold;
  font-size: 14px;
}

.news-tag {
  background-color: #005BAC;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.news-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
  text-align: left; /* これを追加 or 上書き */
}
}

/* モバイル対応：整列・間隔など見やすく */
@media (max-width: 600px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .news-button {
  background-color: #005BAC;
  color: #fff;
  padding: 7px 15px;
  border-radius: 24px;
  font-size: 12px; /* 👈 ここを小さく */
  text-decoration: none;
  display: inline-block;
}

  .news-meta {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }

  .news-text {
    font-size: 15px;
    margin-top: 4px;
  }

  .news-item {
    padding: 16px 0;
  }

  .news-list {
    margin-top: 10px;
  }

  .news-title {
    max-width: 100%;
  }
}






/* ==================================== */
/* 　　　 モバイル対応・LINE　　　　 　*/
/* ==================================== */
.news-line-link {
  max-width: 100%;
  margin: 20px auto;
  padding: 0 16px; /* ← スマホでも余白あり */
  box-sizing: border-box;
}

.line-icon {
  width: 250px !important;
  height: 250px !important;
  display: block;
  max-width: 400px !important; /* ← PCで大きすぎ防止 */
  margin: 0 auto;
  border-radius: 8px; /* ← 任意：少し優しい印象に */
}







/* --------------------------- */
/* 　モバイル対応・フッター　　　 */
/* --------------------------- */
@media screen and (max-width: 768px) {
  .footer-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px !important;
    gap: 20px !important;
    text-align: center !important;
  }

 .footer-logo {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-logo p {
    text-align: left !important;
    margin: 4px 0;
  }

  .footer-icon-group {
    justify-content: flex-start !important;
    margin-top: 8px !important;
  }

    .footer-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 25px !important;
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 130px !important;
  }

  @media screen and (max-width: 768px) {
  .footer-nav > div {
    text-align: left !important;
  }

  .footer-nav h3 {
    font-size: 13px !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    text-align: left !important; /* ← 追加 */
  }

  .footer-nav ul {
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
  }

  .footer-nav li {
    font-size: 11px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    padding-left: 0 !important;
  }

  .footer-nav a {
    text-decoration: none !important;
    color: #fff !important;
    display: inline-block !important;
  }
}

  .footer-bottom {
    text-align: center !important;
    margin-top: 12px !important;
  }

  .footer-top h2,
  .footer-top p {
    text-align: center !important;
    margin: 4px 0;
  }

  .sns-icon{
    width: 36px !important;
    height: 36px !important;
  }
}





/* PC版のみ非表示（例：1024px以上をPCとする） */
  .pc-hide {
    display: none;
  }









/* 全体リセットとベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  font-family: sans-serif;
}

/* 背景スクロール禁止用 */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ファーストビュー調整 */
.company-hero {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.company-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ヘッダー表示対応 */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.logo {
  height: 150px;
  width: 150px;
  top: 15px;
}

/* ナビゲーションメニュー */
.nav-menu {
  display: flex;
  gap: 16px;
}

.nav-menu ul {
  display: flex;
  gap: 16px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 14px;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  section,
  .about-content,
  .karte-content,
  .recruit-inner,
  .interview,
  .news-inner,
  .company-hero,
  .message-section,
  .info-section {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

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

  .company-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
    margin: 0 auto;
  }

  .company-table tr {
    display: block;
    margin-bottom: 12px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 4px 0;
    border-bottom: 1px solid #ccc;
    text-align: left;
  }

  .message-text,
  .message-sign,
  .about-text,
  .interview-desc,
  .recruit-text,
  p {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  h1, h2, h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
  }

  .interview-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .interview-card {
    width: 100%;
  }

  .news-line-link img {
    width: 100%;
    height: auto;
  }

  .footer-main {
    flex-direction: column;
    padding: 0 16px;
    gap: 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  /* PCナビを非表示 */
  .nav-menu {
    display: none !important;
  }

  /* ハンバーガー */
  .hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
  position: absolute;
  top: 16px;
  right: 16px;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  width: 100%;
}

  /* モバイルナビ */
  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 16px;
    z-index: 998;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .officialsite {
    height: 36px;
    transform: translateY(0);
  }

  .floating-banner {
    display: none;
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
  }

  .site-header .logo {
    height: 28px;
    margin-top: 0;
  }
}

/* PC表示の強制 */
@media screen and (min-width: 769px) {
  .mobile-nav,
  .hamburger {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
  }
}

/* モバイル表示ならmobileだけ見せる */
@media screen and (max-width: 768px) {
  .catchcopy-pc {
    display: none !important;
  }
  .catchcopy-mobile {
    display: block !important;
  }
}

/* PC表示ならpcだけ見せる */
@media screen and (min-width: 769px) {
  .catchcopy-pc {
    display: block !important;
  }
  .catchcopy-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .interview-cards {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: -780px !important;
  }

  .interview-card {
    width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .interview-title {
   margin-left: -373px;
   margin-top: 45px;
  }
  
  .interviewmaru {
   margin-left: -335px;
   margin-top: 10px;
}
}

/* お知らせ */
@media screen and (max-width: 768px) {
.news-title {
  margin-left: 12px;
  width: 110px;
 }
} 

@media screen and (max-width: 768px) {
  .floating-banner {
    right: auto;
    left: 10px; /* 左からの距離。調整可能 */
  }
}




html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.site-footer {
  margin-bottom: 0;
  padding-bottom: 0;
}

body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}



/* ファーストビュー */
body {
  background-color: #000; /* ← 黒背景だけ残す。画像は外す */
}

.firstview {
  position: relative;
  overflow: hidden;
}





