.title-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0066cc;
    text-align: center;
}
.story-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}
.story-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0066cc;
    text-align: center;
}
.story-block {
    margin-bottom: 80px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 40px;
}
.story-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0066cc;
}
.story-block p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}
.business-section {
    background: #f6f7fb;
    padding: 80px 20px;
}
.business-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0066cc;
    text-align: center;
}
.business-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
}
.business-block {
    flex: 1 1 45%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 2rem;
}
.business-block h3 {
    font-size: 1.6rem;
    color: #3793e0;
    margin-bottom: 1rem;
}
.business-block p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}
/* 採用情報セクション */
/*
.recruit-section {
    background: #fff;
    padding: 80px 20px;
}
.recruit-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0066cc;
    text-align: center;
}
.recruit-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.recruit-card {
    background: #f9f9f9;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}
.recruit-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.recruit-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #0066cc;
}
.recruit-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}
.recruit-bio {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}
*/
/* 背景つきrecruit-section */
.recruit-section {
  background: #fff;
  padding: 80px 20px;
}

.recruit-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0066cc;
  text-align: center;
}
.bg-recruit {
  position: relative;
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

/* 背景画像は100%表示 */
.recruit-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: url('image/recruit-bg.png') center/cover no-repeat;
  pointer-events: none;
}

/* オーバーレイ用のフィルム */
.recruit-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(213, 130, 30, 0.59); /* ←超薄いオレンジ！好みで濃さ調整 */
  z-index: 2;
  pointer-events: none;
}

/* recruit-containerを上に重ねる */
.recruit-container {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* カード自体は既存 recruit-card でOKですが、少し装飾UPもおすすめ！ */
.recruit-inner {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.recruit-card {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 2.1rem 1.5rem 1.5rem 1.5rem;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 280px;
  text-align: left;
  margin: 0 auto 1.5rem auto;
  transition: transform 0.16s, box-shadow 0.16s;
}
.recruit-card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 8px 36px rgba(0,102,204,0.12);
}
.recruit-name {
  font-size: 1.18rem;
  font-weight: bold;
  color: #177bc7;
  margin-bottom: 0.7rem;
}
.recruit-role {
  color: #222;
  font-size: 1.03rem;
  margin-bottom: 0.6rem;
}
.recruit-bio {
  color: #a55;
  font-size: 0.98rem;
}

@media (max-width: 600px) {
  .recruit-inner { flex-direction: column; gap: 1.2rem; }
  .recruit-card { padding: 1.2rem 0.8rem; min-width: 0; max-width: 100%; }
}


.achievements-section {
    background: #f0f4f8;
    padding: 80px 20px;
    text-align: center;
}
.achievements-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0066cc;
}
.achievements-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.achievement-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 2rem;
    width: 220px;
}
.achievement-number {
    font-size: 2.4rem;
    font-weight: bold;
    color: #0077ff;
    margin-bottom: 0.5rem;
}
.achievement-label {
    font-size: 1rem;
    color: #555;
}
.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #0077ff;
  animation: bounce 1.5s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}
#scroll-car {
 position: fixed;
 top: 0; /* → JSで制御するから無視される */
 left: 60%;
 font-size: 2rem;
 z-index: 9999;
 pointer-events: none;
 transform: translate(-50%, 0); /* 初期位置 */
 transition: transform 0.4s ease-in-out;
 }
 .speech-bubble {
 position: absolute;
 bottom: 120%;
 left: 50%;
 transform: translateX(-50%);
 width: max-content;
 max-width: 300px;
 padding: 1rem 1.5rem;
 background: radial-gradient(circle at 60% 35%, rgba(186,230,255,0.95) 60%, rgba(127,188,255,0.85) 100%);
 border-radius: 58% 42% 63% 37% / 49% 62% 38% 51%;
 box-shadow: 0 0 30px rgba(127,188,255,0.2);
 color: #003366;
 font-size: 0.95rem;
 font-weight: 500;
 text-align: center;
 opacity: 0;
 transition: opacity 0.4s ease;
 z-index: 9999;
 pointer-events: none;
 }

 .speech-bubble.show {
 opacity: 1;
 }

 .speech-bubble::after {
 content: '';
 position: absolute;
 bottom: -10px;
 left: 50%;
 transform: translateX(-50%);
 border: 8px solid transparent;
 border-top-color: rgba(127,188,255,0.9);
 }

.horizontal-section {
  overflow: hidden;
  padding: 4rem 0; /* 余白だけ残す */
  height: auto; /* ← 高さの固定をやめる */
}

.horizontal-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0066cc;
  text-align: center;
}

.horizontal-wrapper {
  display: flex;
  height: auto; /* ← これも auto に */
}

.horizontal-scroll {
  display: flex;
  height: auto; /* ← ここも重要 */
  will-change: transform;
}

/*
.business-block {
  flex: 0 0 calc(80vw - 2rem); 
  height: 100%;
  padding: 2rem;
  margin-right: 2rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
*/

.business-block {
  flex: 0 0 40vw;
  height: auto;           /* ← 高さを自動に */
  aspect-ratio: 3 / 4;
  padding: 2rem 2rem;
  margin-right: 2rem;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 下寄せにするなら */
  position: relative;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

/* business-block 自体に余白がないので、左右にマージン（見切れ防止） */
.horizontal-scroll::before,
.horizontal-scroll::after {
  content: '';
  flex: 0 0 5vw; /* 画面幅の5%分を余白にする */
}
/* テキストのガラス風ブロック 
.business-block p {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  width: 38ch;
  max-width: 90%;
  margin: 1rem 0 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
  word-break: break-word;
  white-space: normal;
}*/

/* 背景指定 */
.bg1 { background: url('image/p01.jpg') center/cover no-repeat; }
.bg2 { background: url('image/p02.jpg') center/cover no-repeat; }
.bg3 { background: url('image/p03.jpg') center/cover no-repeat; }
.bg4 { background: url('image/p04.jpg') center/cover no-repeat; }
.bg5 { background: url('image/p05.jpg') center/cover no-repeat; }

.business-block h3 {
  text-shadow: 0px 0px 10px rgba(96, 96, 96, 0.35);
  color: #fff;
}

/* block-content：中央寄せ（ただし左揃え） */
.block-content {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  max-width: 80%;
  text-align: left;
}

.block-content h3 {
  margin: 0 0 0.5rem;
  color: #004080;
  font-size: 1.4rem;
  font-weight: bold;
}



@media (max-width: 768px) {
  .horizontal-section {
    height: auto;
    overflow: visible;
    padding: 60px 0; /* 左右パディング無しで左端ピッタリ */
  }
  .horizontal-wrapper {
    display: block;
    height: auto;
    overflow: visible;
  }
  .horizontal-scroll {
    display: block;
    transform: none !important;
    padding: 0 10px !important;
  }
  .horizontal-scroll::before,
  .horizontal-scroll::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    flex: none !important;
  }
  .business-block {
    flex: none !important;
    width: 100% !important;
    aspect-ratio: auto !important;
    margin: 0 0 2rem 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
  }
  .block-content {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

      .hero-fade-slider {
        background: #eef6fb;
        position: relative;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
      }
      .hero-images {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center; /* 👈 画像を中央に寄せる */
        align-items: center;
      }
      .hero-slide {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 0;
        transition: opacity 2s ease;
        z-index: 1;
      }
      .hero-slide.active {
        opacity: 1;
        z-index: 2;
      }
      .hero-text {
        z-index: 3;
        position: relative;
        color: #f3f9ff;
        /*background: rgba(255, 255, 255, 0.75);*/
        padding: 2rem 3rem;
        border-radius: 12px;
        /*box-shadow: 0 4px 20px rgba(0,0,0,0.1);*/
        background: transparent;
        box-shadow: none;
        text-shadow: 0px 0px 10px rgba(116, 116, 116, 1);
      }
      .hero-text h1 {
        font-size: 3rem;
      }
      .hero-text p {
        font-size: 1.2rem;
        margin-top: 1rem;
        color: #dcdcdc;
        text-shadow: 0px 0px 10px rgba(116, 116, 116, 1);
      }
      .scroll-arrow {
        top: 400px;
        margin-top: 2rem;
        font-size: 2rem;
        color: #d7eaff;
        animation: bounce 1.5s infinite;
        cursor: pointer;
        text-shadow: 0px 0px 10px rgba(116, 116, 116, 1);
      }
      @keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(10px); }
      }

      /* ニュースセクション */
      .news-simple-list {
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid #eee;
      }
      
      .news-simple-item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding: 1.2rem 0;
      }
      
      .news-simple-date {
        color: #888;
        font-size: 1rem;
        min-width: 6.5em;
        margin-right: 2em;
        font-family: 'Roboto Mono', 'Menlo', 'Consolas', monospace;
      }
      
      .news-simple-title {
        font-size: 1.08rem;
        color: #0066cc;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.2s;
      }
      
      .news-simple-title:hover {
        color: #003366;
        text-decoration: underline;
      }
      /* スマホ対応 */
@media (max-width: 768px) {
  .news-simple-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 0 1.1rem 0.5rem;
  }
  .news-simple-date {
    margin: 0 0 0.4em 0;
    font-size: 0.97rem;
    min-width: 0;
  }
  .news-simple-title {
    font-size: 1.13rem;
    line-height: 1.6;
  }
}

#heroVideo {
  opacity: 0;
  transition: opacity 1.2s;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}

.philosophy-section {
  position: relative;
  min-height: 420px;
  padding: 6rem 0 5rem;
  background: #f4f7fa;
  overflow: hidden;
}
.philosophy-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('image/top-back01.png') center/cover no-repeat;
  opacity: 0.18;  /* うっすら、邪魔しない */
  z-index: 1;
}
.philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.philosophy-title {
  font-size: 2.3rem;
  font-weight: bold;
  color: #1261a0;
  margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
}
.philosophy-card {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-radius: 20px;
  margin-bottom: 2.2rem;
  padding: 2.3rem 2rem;
  display: inline-block;
  max-width: 90%;
  text-align: left;
  margin-left: auto; margin-right: auto;
}
.philosophy-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #167bc7;
  margin-bottom: 1rem;
}
.philosophy-card p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 600px) {
  .philosophy-inner { padding: 0 1rem; }
  .philosophy-card { padding: 1.3rem 0.8rem; }
  .philosophy-title { font-size: 1.5rem; }
}