@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";
}

/* ---------- hero ---------- */
.fv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.fv .fv_image {
  opacity: 1;
  clip-path: none;
  animation: fvFade 1.6s ease 0.2s both;
}
.fv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  pointer-events: none;
  animation: fvCoverReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.fv-2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.fv-2 .fv_image-2 {
  opacity: 1;
  clip-path: none;
  animation: fvFade 1.6s ease 0.2s both;
}
.fv-2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  pointer-events: none;
  animation: fvCoverReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.fv-2 {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .fv-2 {
    height: 100%;
  }
}
.fv-2 .fv_image-2,
.fv-2 picture {
  width: 100%;
  height: 100%;
}
.fv-2 picture {
  display: block;
}
.fv-2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 45%;
}

@keyframes fvFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fvCoverReveal {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fv .fv_image {
    animation: none;
    opacity: 1;
  }
  .fv::after {
    animation: none;
    transform: translateY(-100%);
  }
}
.fv {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .fv {
    height: 100vh;
  }
}
.fv .fv_image,
.fv picture {
  width: 100%;
  height: 100%;
}
.fv picture {
  display: block;
}
.fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* ---------- hero ---------- */
.hero {
  width: 100%;
  max-height: 260px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .hero {
    max-height: 460px;
  }
}

/* ---------- contents section ---------- */
.contents-section {
  display: grid;
  gap: 20px;
  padding: 40px 0;
  align-items: stretch;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contents-section {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (min-width: 1024px) {
  .contents-section {
    padding: 70px 0 60px;
    gap: 40px;
  }
}
.contents-section:first-of-type {
  padding-top: 0 !important;
}

.contents-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto;
  justify-content: space-between;
}

.contents-item {
  margin: 0 auto 50px;
  color: #000;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.contents-item h2, .contents-item p {
  text-align: left;
}
.contents-item p {
  font-size: 15px;
}
@media (min-width: 768px) {
  .contents-item p {
    font-size: 16px;
  }
}
@media (min-width: 1024px) {
  .contents-item p {
    font-size: 17px;
  }
}
@media (min-width: 1200px) {
  .contents-item p {
    font-size: 18px;
  }
}

.contents-item-link {
  display: block;
  height: 100%;
  background-color: var(--bg-light);
  border: 2px solid var(--bg-light);
  border-radius: 14px;
  transition: all 0.3s ease-in-out;
  padding: 15px;
}
@media (min-width: 1024px) {
  .contents-item-link {
    padding: 20px;
  }
}
@media (min-width: 1200px) {
  .contents-item-link {
    padding: 30px;
  }
}
.contents-item-link:hover {
  background-color: #eff7f7;
  border: 2px solid #dde7e7;
}
.contents-item-link:hover .arrow-icon .arrow {
  animation: arrow-slide 0.65s ease-in-out;
}
.contents-item-link .contents-item-text h2 {
  line-height: 1;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
  padding: 25px 0px 20px;
}
@media (min-width: 768px) {
  .contents-item-link .contents-item-text h2 {
    font-size: 25px;
    padding: 30px 0px 20px;
  }
}
@media (min-width: 1024px) {
  .contents-item-link .contents-item-text h2 {
    font-size: 26px;
  }
}
@media (min-width: 1200px) {
  .contents-item-link .contents-item-text h2 {
    font-size: 30px;
  }
}
.contents-item-link .contents-item-image {
  overflow: hidden;
  border-radius: 3px;
}
.contents-item-link .contents-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.contents-item-link .contents-item-image img:hover {
  transform: scale(1.02);
}
.contents-item-link .arrow-icon {
  background-color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 10px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .contents-item-link .arrow-icon {
    width: 25px;
    height: 25px;
  }
}
@media (min-width: 1024px) {
  .contents-item-link .arrow-icon {
    width: 30px;
    height: 30px;
  }
}
@media (min-width: 1200px) {
  .contents-item-link .arrow-icon {
    width: 40px;
    height: 40px;
  }
}
.contents-item-link .arrow-icon .arrow {
  position: relative;
  display: block;
  width: 45%;
  height: 1px;
  background-color: #000;
}
.contents-item-link .arrow-icon .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 40%;
  aspect-ratio: 1;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}
@media (hover: hover) {
  .contents-item-link .contents-item-text:hover .arrow-icon .arrow {
    animation: arrow-slide 0.65s ease-in-out;
  }
}
@keyframes arrow-slide {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(45px);
  }
  46% {
    transform: translateX(-45px);
  }
  100% {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .contents-item-link .contents-item-text:hover .arrow-icon .arrow {
    animation: none;
  }
}

/* ---------- lead section ---------- */
.lead-section {
  padding: 40px 0;
}
@media (min-width: 1024px) {
  .lead-section {
    padding: 70px 0 60px;
  }
}

.catch-copy {
  color: var(--brand-green);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  padding: 20px 0px;
}
@media (min-width: 768px) {
  .catch-copy {
    font-size: 35px;
    padding: 30px 0px;
  }
}
@media (min-width: 1024px) {
  .catch-copy {
    padding: 40px 0px;
    font-size: 40px;
    margin-bottom: 28px;
  }
}
@media (min-width: 1200px) {
  .catch-copy {
    padding: 50px 0px;
    font-size: 45px;
  }
}

.catch-copy {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(20px);
  transition: opacity 1s ease, clip-path 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.catch-copy.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .catch-copy {
    opacity: 1;
    clip-path: none;
    transform: none;
    transition: none;
  }
}
.lead-text {
  font-size: 14px;
  color: var(--text-body);
  margin: 0 0 28px;
}
@media (min-width: 1024px) {
  .lead-text {
    font-size: 20px;
    margin-bottom: 40px;
  }
}

.lead-image {
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
}

.pain-list li {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-grey);
}
.pain-list li:first-child {
  border-top: 1px dashed var(--border-grey);
}
@media (min-width: 1024px) {
  .pain-list li {
    font-size: 17px;
  }
}

.lead-conclusion {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 40px 0 0;
}
@media (min-width: 1024px) {
  .lead-conclusion {
    font-size: 19px;
  }
}

/* ---------- section title ---------- */
.section-title {
  text-align: center;
  color: var(--brand-green);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}
@media (min-width: 1024px) {
  .section-title {
    font-size: 26px;
  }
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 40px;
}

/* ---------- features ---------- */
.features-section {
  padding: 50px 0;
}
@media (min-width: 1024px) {
  .features-section {
    padding: 80px 0;
  }
}

.feature-card {
  position: relative;
  margin-bottom: 60px;
}
.feature-card:last-child {
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .feature-card {
    margin-bottom: 90px;
  }
}

.feature-bg {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--grey-box);
}
@media (min-width: 1024px) {
  .feature-bg {
    height: 340px;
  }
}

.feature-number {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
@media (min-width: 1024px) {
  .feature-number {
    top: 20px;
    left: 30px;
    font-size: 56px;
  }
}

.feature-box {
  position: relative;
  max-width: 100%;
  margin: -40px 0 0;
  background: #ffffff;
  padding: 20px 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.feature-box h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text-dark);
}
@media (min-width: 1024px) {
  .feature-box h3 {
    font-size: 20px;
  }
}
.feature-box p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
}
@media (min-width: 393px) {
  .feature-box {
    max-width: calc(100% - 20px);
    margin: -50px 0 0 10px;
  }
}
@media (min-width: 1024px) {
  .feature-box {
    max-width: 460px;
    margin: -70px 0 0 30px;
    padding: 28px 30px 32px;
  }
}

/* ---------- facility ---------- */
.facility-section {
  padding: 20px 0 60px;
}
@media (min-width: 1024px) {
  .facility-section {
    padding: 40px 0 90px;
  }
}

.facility-main {
  margin: 0 0 40px;
}
.facility-main img {
  border-radius: 2px;
}
.facility-main figcaption {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #999999;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.facility-grid figcaption {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #999999;
}
@media (min-width: 1024px) {
  .facility-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
  }
}

.contents-section .contents-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.contents-section .contents-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .contents-section .contents-item:nth-child(2) {
    transition-delay: 0.2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contents-section .contents-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
