@charset "UTF-8";
/* =========================================
   株式会社エポックロジスティクス コーポレートサイト
   ========================================= */
:root {
  --brand-green: #0a8a4a;
  --brand-green-dark: #076b3a;
  --bg-light: #f0f5f5;
  --text-dark: #333333;
  --text-body: #4d4d4d;
  --grey-box: #a9a9a9;
  --border-grey: #dddddd;
  --header-height: 70px;
  --container-width: 1160px;
  --english-font: "Inter", sans-serif;
  --yugo-d: "游ゴシック体 Pr6N D", "Yu Gothic Pr6N D";
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 基本要素の余白 */
:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre) {
  margin: 0;
}

/* ナビゲーションやカード一覧など、マーカーを消すリスト */
:where(ul.list-unstyled, ol.list-unstyled) {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 画像と動画を親要素の幅に収める */
:where(img, video) {
  max-inline-size: 100%;
  block-size: auto;
}

/* フォームの文字を周囲に合わせる */
:where(button, input, select, textarea) {
  font: inherit;
}

:where(input::file-selector-button) {
  font: inherit;
}

:where(textarea) {
  resize: vertical;
}

:where(button,
input[type=button],
input[type=reset],
input[type=submit],
[role=button]) {
  cursor: pointer;
}

:where(:disabled, [aria-disabled=true]) {
  cursor: default;
}

/* ページ内検索で展開できる hidden="until-found" を除外 */
[hidden]:not([hidden=until-found i]) {
  display: none !important;
}

/* スクリーンリーダー向けのテキスト。フォーカス時は表示 */
.visually-hidden:not(:focus):not(:active) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text-dark);
  text-decoration: none;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}
@media (min-width: 768px) {
  .container {
    padding: 0 6%;
  }
}

.sp-only {
  display: block;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

.section-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding: 0px 5% 120px;
}
@media (min-width: 768px) {
  .section-container {
    padding: 0px 6% 150px;
  }
}

.page-title h1,
.page-title h2 {
  animation: pageTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-title h1 {
  animation-delay: 0.2s;
}
.page-title h2 {
  animation-delay: 0.4s;
}

@keyframes pageTitleReveal {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-title h1,
  .page-title h2 {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}
.page-title {
  margin-inline: auto;
  margin: 30px auto 70px;
  max-width: 1400px;
}
@media (min-width: 768px) {
  .page-title {
    margin: 60px auto 80px;
  }
}
@media (min-width: 1024px) {
  .page-title {
    margin: 90px auto 90px;
  }
}
@media (min-width: 1200px) {
  .page-title {
    margin: 100px auto 100px;
  }
}
.page-title h1 {
  color: var(--brand-green);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-size: 34px;
}
@media (min-width: 768px) {
  .page-title h1 {
    font-size: 42px;
  }
}
@media (min-width: 1024px) {
  .page-title h1 {
    font-size: 50px;
  }
}
@media (min-width: 1200px) {
  .page-title h1 {
    font-size: 55px;
  }
}
.page-title h2 {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .page-title h2 {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  .page-title h2 {
    font-size: 22px;
  }
}
@media (min-width: 1200px) {
  .page-title h2 {
    font-size: 24px;
  }
}

.contents {
  animation: contentReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.link-wrap {
  display: block;
}
.link-wrap a {
  display: inline-block;
  border-bottom: 1px solid var(--brand-green);
  transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
  line-height: 1.2;
  color: var(--brand-green);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0);
  transform: translateY(0);
  opacity: 1;
  z-index: 100;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body:not(.is-home) {
  padding-top: var(--header-height);
}

.is-home .header-inner .logo,
.is-home .header-inner #global-nav li {
  animation: headerReveal 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.is-home .header-inner .logo {
  animation-delay: 1.2s;
}
@media (min-width: 768px) {
  .is-home .header-inner .logo {
    animation-delay: 0.8s;
  }
}
.is-home .header-inner #global-nav li:nth-child(1) {
  animation-delay: 1s;
}
.is-home .header-inner #global-nav li:nth-child(2) {
  animation-delay: 1.06s;
}
.is-home .header-inner #global-nav li:nth-child(3) {
  animation-delay: 1.12s;
}
.is-home .header-inner #global-nav li:nth-child(4) {
  animation-delay: 1.18s;
}
.is-home .header-inner #global-nav li:nth-child(5) {
  animation-delay: 1.24s;
}

@keyframes headerReveal {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-home .header-inner .logo,
  .is-home .header-inner #global-nav li {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}
.header-inner {
  height: 100%;
  margin: 0 auto;
  padding: 5px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .header-inner {
    padding: clamp(0.625rem, -0.4861rem + 2.315vw, 1.25rem) clamp(1.25rem, 0.1389rem + 2.315vw, 1.875rem);
  }
}

.logo {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 10px;
  max-width: clamp(16.25rem, 13.8015rem + 10.309vw, 18.75rem);
}
@media (min-width: 1024px) {
  .logo {
    margin-top: 5px;
    max-width: clamp(18.75rem, 13.1944rem + 11.574vw, 21.875rem);
  }
}
.logo a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

#global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--header-height);
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}
#global-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s ease, visibility 0s linear 0s;
}
#global-nav.is-open li .nav-label > span {
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#global-nav.is-open li:nth-child(1) .nav-label > span {
  transition-delay: 0.14s;
}
#global-nav.is-open li:nth-child(2) .nav-label > span {
  transition-delay: 0.2s;
}
#global-nav.is-open li:nth-child(3) .nav-label > span {
  transition-delay: 0.26s;
}
#global-nav.is-open li:nth-child(4) .nav-label > span {
  transition-delay: 0.32s;
}
#global-nav.is-open li:nth-child(5) .nav-label > span {
  transition-delay: 0.38s;
}
#global-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
}
#global-nav li {
  overflow: hidden;
}
#global-nav a {
  display: block;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-grey);
  position: relative;
}
#global-nav a .nav-label {
  display: block;
  overflow: hidden;
}
#global-nav a .nav-label > span {
  display: block;
  transform: translateY(115%);
}
#global-nav a::after {
  display: none;
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
#global-nav a:hover::after {
  transform: scaleX(1);
}
@media (min-width: 1024px) {
  #global-nav {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    padding-top: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    overflow: visible;
  }
  #global-nav.is-open {
    transform: none;
    opacity: 1;
    transition: none;
  }
  #global-nav ul {
    flex-direction: row;
    gap: 32px;
    padding: 0;
  }
  #global-nav li {
    overflow: visible;
  }
  #global-nav li .nav-label > span {
    transition: none;
  }
  #global-nav a {
    display: inline;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: none;
  }
  #global-nav a .nav-label {
    overflow: visible;
  }
  #global-nav a .nav-label > span {
    transform: none;
  }
  #global-nav a::after {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  header,
  #global-nav,
  #global-nav.is-open,
  #global-nav.is-open li .nav-label > span {
    transition: none;
  }
}
.hamburger {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--text-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (min-width: 768px) {
  .hamburger span {
    width: 40px;
  }
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

:root {
  --header-height: 60px;
}
@media (min-width: 1024px) {
  :root {
    --header-height: 84px;
  }
}

.hamburger.is-loading span {
  animation: hamburgerLineReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.hamburger.is-loading span:nth-child(1) {
  animation-delay: 1.2s;
}
.hamburger.is-loading span:nth-child(2) {
  animation-delay: 1.3s;
}
.hamburger.is-loading span:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes hamburgerLineReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hamburger.is-loading span {
    animation: none;
  }
}
footer {
  border-top: 1px solid var(--border-grey);
  padding: 40px 20px 50px;
  text-align: center;
}
footer nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  footer nav ul {
    gap: 40px;
  }
}
footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--brand-green);
  color: #ffffff;
  font-size: 9px;
  border-radius: 3px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: clamp(3.125rem, 1.2887rem + 7.732vw, 5rem);
  margin: 0 auto 20px;
}
@media (min-width: 768px) {
  .footer-logo {
    max-width: 80px;
  }
}
.footer-logo .logo-mark {
  background: var(--brand-green);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 4px 6px;
  border-radius: 2px;
}
.footer-logo .logo-word {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.copyright {
  font-size: 12px;
  color: #888888;
  margin: 0;
}
