/* =============================================

ベース

============================================= */
/* 一元管理ができる */ :root {
  --color-primary: #005BBB;
  --color-accent: #FFA500;
  --font-base: 'Poppins', sans-serif;
  --transition-speed: 0.3s;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif var(--font-base);
  line-height: 1.6;
  color: #333;
}
/* コンテナ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
/* =============================================

ヘッダー

============================================= */
/* 基本スタイル */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: padding .3s ease, background .3s ease;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
/* ロゴ */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
  text-decoration: none;
  transition: color .3s;
}
.logo img {
  width: 200px;
  height: auto;
}
.logo:hover {
  color: #005BBB;
}
/* ナビゲーション */
.site-nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1rem;
  transition: color .3s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #005BBB;
  transition: width .3s ease, left .3s ease;
}
.site-nav a:hover::after {
  width: 100%;
  left: 0;
}
/* スクロール時の縮小 */
.site-header.scrolled {
  padding: 0rem 2rem;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.scrolled .container {
  padding: 0.5rem 2rem 0;
}
/* =============================================

ヒーロー

============================================= */
/* モバイルメニューはJSで制御 */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
/* スライダー内のスライドを重ねて配置 */
.hero-slider {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
/* オーバーレイはそのまま上に重ねる */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 1;
}
/* — 全体レイアウト調整 — */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #fff;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content h1 span {
  color: var(--color-accent);
}
/* — タイトル — */
.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0;
  overflow: hidden; /* アニメーションのはみ出し防止 */
}
.hero-title__line, .hero-title__highlight {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.hero-title__line {
  animation-delay: 0.4s;
}
.hero-title__highlight {
  font-size: 4.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ff8a00, #e52e71);
  -webkit-background-clip: text;
  color: transparent;
  animation-delay: 0.8s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
/* — サブテキスト — */
.hero-text {
  font-size: 1.25rem;
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 1.2s forwards;
}
/* — ボタン — */
.hero-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 1.6s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
/* — フェードイン＆スライドアップのキーフレーム — */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity var(--transition-speed);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.8;
}
/* =============================================

ヒーロー直下

============================================= */
.services {
  padding: 6rem 0 0rem;
}
.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}
.services__header--with-bg {
  position: relative;
  background: url('img/your-photo.jpg') center center / cover no-repeat;
  height: 360px; /* お好みで調整 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
/* 半透明の黒オーバーレイ */
.services__header--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
/* テキストはオーバーレイの上に */
.services__header--with-bg .services__title, .services__header--with-bg .services__text, .services__header--with-bg .services__btn {
  position: relative;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
/* ボタンはもう少し目立つ色に */
.services__header--with-bg .services__btn {
  background: #ff6f00;
  margin: 16px;
}
.services__header--with-bg .services__btn:hover {
  background: #e65c00;
}
.services {
  padding: 80px 20px 0;
  background: #f9f9f9;
  text-align: center;
}
.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}
/* ヘッダー部分 */
.services__header {
  margin-bottom: 50px;
}
.services__title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: #333;
}
.services__text {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #555;
}
.services__btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  color: #fff;
  background: #003f7b;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}
.services__btn:hover {
  background: #0056b3;
}
/* =============================================

業務内容

============================================= */
.services_gyoumu {
  background: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
}
.services-grid {
  display: grid;
  /* 2列に固定 */
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 2rem;
}
/* 画面幅600px以下では1列に */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  background: #f9f9f9;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
  margin: 20px;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  width: 60px;
  margin-bottom: 1rem;
}
.service-card i {
  /* 大きさを指定（px / rem / em などお好みで） */
  font-size: 3.5rem; /* 例：24px 相当 */
  /* 色を指定 */
  color: #007ACC;
}
/* ホバー時に色を変えたい場合 */
.service-card i:hover {
  color: #005FA3;
}
/* =============================================

業務委託ドライバー募集中

============================================= */
.recruit {
  background: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
}
.recruit-list {
  list-style: none;
  margin: 0 20px 3em;
  padding: 0;
  display: grid;
  gap: 1rem; /* アイテム間の隙間 */
  grid-template-columns: repeat(2, 1fr);
}
.recruit-list li {
  background: var(--color-primary);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
}
.recruit_listbtn {
  padding-bottom: 2rem;
}
.badge-gradient {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #FF8A00 0%, #E52E71 100%);
  padding: 0.6em 1.2em;
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 0 0 30px;
}
.services__recruit_bg {
  position: relative;
  background: url('img/recruit.jpg') center center / cover no-repeat;
  height: 360px; /* お好みで調整 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.recruit__text {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: #555;
}
.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
/* =============================================

会社概要

============================================= */
.about {
  background: #f9f9f9;
  padding: 2rem 0 0;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 50px 0;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #003f7b;
  margin: 12px auto 0;
}
/* ベース */
.about__section {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
/* 偶数セクションは画像右に */
.about__section:nth-of-type(even) {
  flex-direction: row-reverse;
}
.about__image, .about__text {
  flex: 1;
}
/* 画像 */
.about__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
/* テキスト */
.about__text {
  padding: 0 40px;
}
.about__text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.about__text p, .about__text ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
.about__text ul {
  list-style: none;
  padding: 0;
}
.about__text li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.about__text li i {
  margin-right: 8px;
  width: 1em;
  text-align: center;
}
/* レスポンシブ（スマホ） */
@media (max-width: 768px) {
  .about__section {
    flex-direction: column;
  }
  .about__section:nth-of-type(even) {
    flex-direction: column;
  }
  .about__text {
    padding: 20px 0;
  }
}
/* =============================================

ご挨拶

============================================= */
.heading-style-2 {
  position: relative;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  color: transparent;
  /* テキストにグラデを適用 */
  background: linear-gradient(90deg, #003f7b, #003f7b);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 2rem 0 1.5rem;
}
.heading-style-2::before, .heading-style-2::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 2px;
  background: #bdc3c7;
  margin: 0 0.8em;
}
/* =============================================

会社概要詳細

============================================= */
.company-info-wrapper {
  background: #fff;
  padding: 30px 0 0;
  margin: 30px 0 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.company-info-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 50px;
  color: #333;
}
/* スマホ以外で横並びに */
@media (min-width: 768px) {
  .company-info-wrapper .about__section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
  }
  /* 奇数番目はデフォルトの並び（画像左・テキスト右） */
  .company-info-wrapper .about__section:nth-of-type(odd) {
    flex-direction: row;
    padding: 0 20px 20px;
  }
  /* 偶数番目は左右反転（画像右・テキスト左） */
  .company-info-wrapper .about__section:nth-of-type(even) {
    flex-direction: row-reverse;
  }
  /* 画像・テキストを均等に */
  .about__image, .about__text {
    flex: 1;
  }
  /* 画像はコンテナいっぱいに表示 */
  .about__image img {
    width: 100%;
    height: auto;
    display: block;
  }
  /* テキスト部の余白調整 */
  .about__text {
    padding: 0 1.5rem;
  }
}
/* 定義リストをグリッド表示 */
.company-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 40px;
  margin: 50px;
}
.company-info dt {
  font-weight: bold;
  color: #444;
  display: flex;
  align-items: center;
}
.company-info dt i {
  margin-right: 6px;
  width: 1em;
}
.company-info dd {
  margin: 0;
  color: #666;
  text-align: left;
}
/* CSS */
/* ① フォント・サイズ・カラー調整 */
.fancy-heading {
  font-family: 'Noto Sans JP', sans-serif; /* Google Fontsなどで読み込んでおく */
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  position: relative;
  margin: 2rem 0;
  padding-bottom: 0.5rem;
}
/* ② 下線を擬似要素で */
.fancy-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4299e1, #9f7aea);
  border-radius: 2px;
}
/* 地図リンク */
.map-link {
  margin: 50px;
}
/* =============================================

お問い合わせフォーム

============================================= */
.tel {
  width: 300px;
  background: orange;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  margin: 30px auto;
  font-size: 1.5rem;
  font-weight: bold;
}
.tel a {
  display: block;
  text-decoration: none;
  color: #fff;
}
.tel a:hover {
  opacity: 0.6;
}
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
.contact-section {
  background: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
}
.contact-section .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2em;
}
.form-wrapper {
  display: flex;
  justify-content: center;
}
.form-wrapper iframe {
  width: 100%;
  max-width: 800px;
  border: none;
}
/* ボタン共通スタイル */
.fancy-btn {
  display: inline-block;
  width: 220px; /* 幅を統一 */
  height: 50px; /* 高さを統一 */
  line-height: 50px; /* テキストを中央縦寄せ */
  margin: 0.5em;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-image: linear-gradient(135deg, #4A90E2, #007AFF);
}
/* ホバー時の動き */
.fancy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* ボタンコンテナを中央揃えに */
#button-wrapper {
  text-align: center;
  margin-bottom: 1em;
}
/* フォーム表示エリアに軽い枠と影を */
#form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}
.powered {
    display: none;
}
/* =============================================

フッター

============================================= */
.site-footer {
  background: #222;
  color: #aaa;
  padding: 2rem 0;
  text-align: center;
}
/* =============================================

スクロールフェードイン（IntersectionObserverで制御）

============================================= */
.js-fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.js-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =============================================

ビューポートに入ったタイミングで「ふわっ」とフェード＆スライドイン

============================================= */
/* 下からフェードイン */
.fade-up-hidden, .fade-up-show {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up-hidden {
  opacity: 0;
  transform: translateY(20px);
}
.fade-up-show {
  opacity: 1;
  transform: translateY(0);
}
/* 左からフェードイン */
.fade-left-hidden, .fade-left-show {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-left-hidden {
  opacity: 0;
  transform: translateX(-20px);
}
.fade-left-show {
  opacity: 1;
  transform: translateX(0);
}
/* 右からフェードイン */
.fade-right-hidden, .fade-right-show {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-right-hidden {
  opacity: 0;
  transform: translateX(20px);
}
.fade-right-show {
  opacity: 1;
  transform: translateX(0);
}
/* =============================================

   タブレット向け（画面幅1024px以下）

============================================= */
@media (max-width: 1024px) {
  /* ヒーローセクションの高さ・文字サイズ */
  .hero {
    height: 80vh;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-title__highlight {
    font-size: 3.5rem;
  }
  .hero-text {
    font-size: 1.1rem;
  }
  .hero-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
  /* サービス直下セクションの高さ */
  .services__header--with-bg {
    height: 300px;
  }
  .services__title {
    font-size: 2.4rem;
  }
  .services__text {
    font-size: 1rem;
  }
  /* グリッド調整 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-info {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  /* 会社概要セクションは縦積み */
  .about__section {
    flex-direction: column;
  }
}
/* =============================================

   スマホ向け（画面幅767px以下）

============================================= */
@media (max-width: 767px) {
  /* ヒーローセクションの高さ・文字サイズ */
  .hero {
    height: 60vh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-title__highlight {
    font-size: 2.5rem;
  }
  .hero-text {
    font-size: 0.9rem;
  }
  .hero-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  /* サービス直下セクションの高さ・文字サイズ */
  .services__header--with-bg {
    height: 200px;
  }
  .services__title {
    font-size: 2rem;
  }
  .services__text {
    font-size: 0.9rem;
  }
  /* グリッドを1列に */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .recruit-list {
    display: block;
    text-align: center;
  }
  /* 会社概要テキスト調整 */
  .about__text {
    padding: 10px;
    font-size: 0.9rem;
  }
  /* 定義リストも縦1列に */
  .company-info {
    grid-template-columns: 1fr;
  }
}
/* =============================================

   スマホ向け（画面幅430px以下）

============================================= */
@media (max-width: 430px) {
  .site-header .container {
    padding: 10px 0rem 0;
  }
  .hero {
    height: 80vh;
  }
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  .hero-title__line {
    font-size: 1.5rem;
  }
  .hero-title__highlight {
    font-size: 2.0rem;
  }
  .services__header--with-bg {
    height: 400px;
  }
  .services h2 {
    font-size: 1.3rem;
  }
  .services__text {
    padding: 10px;
  }
  .services-intro {
    padding: 10px;
  }
  .recruit__text {
    padding: 10px;
  }
  .recruit-list li {
    margin: 10px 0;
  }
  .heading-style-2::before, .heading-style-2::after {
    width: 30px;
  }
  .company-info {
    margin: 10px;
  }
  .map-link {
    margin: 10px;
  }
  .company-info-wrapper {
    padding: 30px 10px 0;
  }
}
.nav-toggle {
  display: none;
}
/* モバイル対応 */
@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 40%;
    height: 100%;
    flex-direction: column;
    padding-top: 5rem;
    align-items: center;
    transition: right .3s ease;
  }
  .site-nav.open {
    right: 0;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  /* style.css の @media (max-width: 768px) { ... } 内に追加 */
  .site-nav ul li {
    /* 背景を半透明黒に */
    background: rgba(0, 0, 0, 0.9);
  }
  .site-nav a {
    /* 文字色を白に */
    color: #fff;
  }
  /* リストホバー時も白反転しないよう微調整 */
  .site-nav a:hover {
    color: #FFA500; /* アクセントカラーなどお好きな色で */
  }
  /* --- ハンバーガーボタン --- */
  .nav-toggle {
    display: flex; /* 必須 */
    flex-direction: column; /* 縦に3本並べる */
    align-items: center;
    justify-content: center;
    gap: 6px; /* 線の間隔 */
    width: 40px; /* アイコン領域幅 */
    height: 40px; /* アイコン領域高さ */
    cursor: pointer;
  }
  /* 3本のバー */
  .nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center center;
  }
  /* --- Open時 --- */
  .site-nav.open .nav-list {
    display: block;
  }
  /* ハンバーガーメニュー開時 */
  .site-nav.open ul li a {
    display: block; /* ブロック要素化 */
    width: 100%; /* 横幅いっぱいに */
    padding: 0.1rem; /* 余白はお好みで調整 */
    text-decoration: none;
    box-sizing: border-box;
  }
  /* --- ハンバーガー → × --- */
  .nav-toggle.open span {
    background: #fff;
  }
  .nav-toggle.open span:nth-child(1) {
    /* 上のバーを中央(＋15px)に寄せてから45°回転 */
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    /* 下のバーを中央(−15px)に寄せてから−45°回転 */
    transform: translateY(-9px) rotate(-45deg);
  }
}