@charset "UTF-8";

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1400px;
  height: 70px;
  background: linear-gradient(90deg, #0047ff, #0032b8);
  border-radius: 32px;
  z-index: 999;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: 0.4s ease;
}

/* スクロールしたら縮む */
.header.scrolled {
  height: 50px;
  top: 14px;
  max-width: 800px;
  border-radius: 26px;
}

/* ホバーで少し浮く */
.header:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.header-inner {
  height: 100%;
  padding: 0 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  width: 160px;
  display: block;
  transition: 0.4s ease;
  margin-top: 10px;
}

.header.scrolled .header-logo img {
  width: 120px;
}

/* /// */
.header-slash {
  display: flex;
  gap: 14px;
  margin-right: auto;
  margin-left: 70px;
}

.header-slash span {
  width: 15px;
  height: 50px;
  background: #fff;
  transform: skewX(-35deg);
  display: block;
  transition: 0.4s ease;
}

.header.scrolled .header-slash span {
  height: 35px;
  width: 10px;
}

/* ハンバーガー */
.menu-btn {
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.menu-btn:hover {
  transform: scale(1.08);
}

.menu-btn span {
  width: 30px;
  height: 3px;
  background: #0047ff;
  border-radius: 999px;
}

.header.scrolled .menu-btn {
  width: 45px;
  height: 45px;
  gap: 6px;
}

.header.scrolled .menu-btn span {
  width: 22px;
  height: 2px;
}

/* ドロワーメニュー */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  height: 100vh;
  background: #0032b8;
  z-index: 998;
  padding-top: 150px;
  transition: 0.5s ease;
}

.drawer-menu.active {
  right: 0;
}

.drawer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-menu li {
  margin-bottom: 28px;
  text-align: center;
}

.drawer-menu a {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}

/* OP後にヘッダー出現させる用 */
.header {
  opacity: 0;
  animation: headerShow 0.8s ease forwards;
  /* animation-delay: 4.2s; */
}

@keyframes headerShow {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.toggle-menu-button {
  display: none;
}

.toggle-menu-button {
  display: none;
  width: 300px;
}

.site-menu ul {
  display: flex;
  gap: 40px;
}

.site-menu ul li a {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.footer {
  background: #f5f8ff;
  background-image: url(../images/ロゴ/トラック2.png);
  background-size: cover;
  background-position: center;
  color: #000;
  padding: 30px 0;
  height: 400px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

.footer-right {
  margin-left: auto;
  text-align: right;
}

.footer-menu ul {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  margin-top: 45px;
}

.footer-menu a {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.footer-tel {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-top: 150px;
}

.footer-fax {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.footer-info {
  text-align: center;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    position: relative;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;

    padding: 0 !important;
    margin: 0 !important;

    background-size: contain !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;

    overflow: hidden !important;
  }

  .footer-inner {
    position: relative;

    width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  .toggle-menu-button {
    display: none !important;
  }

  .footer-right {
    position: absolute;

    top: 37px;
    right: 12px;

    width: 56% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-menu {
    width: 100% !important;
  }

  .footer-menu ul {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    width: 100% !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    list-style: none !important;
  }

  .footer-menu li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-menu a {
    display: block !important;

    padding: 0 !important;

    color: #fff !important;

    font-size: 7px !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;

    text-decoration: none !important;
  }

  .footer-info {
    position: absolute !important;
    top: 82px !important;
    right: 12px !important;

    width: 56% !important;
    margin: 0 !important;

    text-align: center !important;
  }

  .footer-tel {
    margin: 0 !important;
  }

  .footer-tel a {
    display: block !important;

    font-size: 9px !important;
    line-height: 1 !important;

    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .copyright {
    position: absolute;

    right: 12px;
    bottom: 6px;

    width: 56% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 4px !important;
    line-height: 1.2 !important;

    text-align: center !important;

    white-space: nowrap !important;
  }

  /* 上のメニュー */
  .footer-menu {
    position: absolute !important;
    top: 14px !important; /* ← メニューを少し下へ */
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 78% !important;
    margin: 0 !important;
  }

  .footer-menu ul {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  .footer-menu li {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    text-align: center !important;
  }

  .footer-menu a {
    display: block !important;
    padding: 0 !important;

    font-size: 8px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* 電話番号 */
  .footer-info {
    position: absolute !important;

    top: 75px !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
  }

  .footer-tel {
    margin: 0 !important;
    text-align: center !important;
  }

  .footer-tel a {
    display: block !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }
}
