#nano-mv {
  padding-top: 0;
  padding-bottom: 0;
}

.nanowarp-mv-video {
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 625px;
  background: #fff;
  clip-path: inset(1px);
  object-fit: cover;
}

.nanowarp-lead {
  margin: 96px;
}

.nanowarp-lead-title {
  margin: 0 0 32px;
  text-align: left;
}

.nanowarp-lead-text {
  margin: 0;
}

.nanowarp-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

#contact {
  margin-top: 96px;
  padding-top: 0;
}

#contact.fade-section {
  opacity: 1;
  transform: none;
  transition: none;
}

#contact.fade-section .section-heading {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#contact.fade-section.is-visible .section-heading {
  opacity: 1;
  transform: translateY(0);
}

#nano-photo-area {
  width: 100%;
  padding: 0 0 96px;
}

.nanowarp-applications-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nanowarp-applications-list li {
  text-align: center;
}

.nanowarp-applications-list img {
  display: block;
  width: auto;
  height: 64px;
  margin-right: auto;
  margin-left: auto;
}

.nanowarp-applications-list li p:first-of-type {
  font-size: 20px;
  font-weight: 700;
}

.nanowarp-applications-list li p:nth-of-type(2) {
  border-top: 1px solid #b2b2b2;
  margin-bottom: 0;
  padding: 24px 0 0;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

#nanowarp-UseCases .nanowarp-applications-list img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 344 / 194;
  object-fit: cover;
}

#nanowarp-UseCases .nanowarp-applications-list li {
  display: flex;
  flex-direction: column;
}

#nanowarp-UseCases .nanowarp-applications-list li p:nth-of-type(2) {
  margin-top: 0;
  margin-bottom: 32px;
}

#nanowarp-UseCases .pill-link {
  display: flex;
  width: fit-content;
  margin-top: auto;
  margin-left: auto;
}

#nanowarp-footerblock.fade-section {
  transform: none;
}

.nanowarp-footerblock-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  list-style: none;
}

.nanowarp-footerblock-list > li {
  padding: 32px 48px;
}

.nanowarp-footerblock-image {
  width: calc(100% + 96px);
  margin: -32px -48px 0;
  overflow: hidden;
}

.nanowarp-footerblock-image img {
  display: block;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nanowarp-footerblock-list > li > p {
  position: relative;
  margin-bottom: 16px;
  border-bottom: 2px solid #fff;
}

.nanowarp-footerblock-list > li > p > a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding-right: 32px;
  padding-bottom: 16px;
}

.nanowarp-footerblock-list > li > p > a,
.nanowarp-footerblock-list > li > ul a {
  transition: opacity 0.2s ease;
}

.nanowarp-footerblock-list > li > p > a:focus-visible,
.nanowarp-footerblock-list > li > ul a:focus-visible {
  opacity: 0.8;
}

.nanowarp-footerblock-list > li > p::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  background: url("../images/common/icon_arrow.png") center / contain no-repeat;
  pointer-events: none;
  transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
  .nanowarp-footerblock-list > li > p > a:hover,
  .nanowarp-footerblock-list > li > ul a:hover {
    opacity: 0.8;
  }

  .nanowarp-footerblock-list > li:hover .nanowarp-footerblock-image img {
    transform: scale(1.08);
  }

  .nanowarp-footerblock-list > li:hover > p::after {
    animation: nanowarp-footer-arrow-nudge 0.45s ease;
  }
}

@keyframes nanowarp-footer-arrow-nudge {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(5px);
  }
}

.nanowarp-footerblock-list > li > ul {
  padding-left: 0;
  list-style-position: inside;
  list-style-type: disc;
}

.nanowarp-footerblock-list > li:nth-child(1) {
  background: #323333;
}

.nanowarp-footerblock-list > li:nth-child(2) {
  background: #1b2e46;
}

.nanowarp-footerblock-list > li:nth-child(3) {
  background: #0e4344;
}

.nanowarp-footerblock-list > li:nth-child(4) {
  background: #342d3a;
}

@media (min-width: 1161px) {
  .nanowarp-lead {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .nanowarp-lead-title {
    margin-bottom: 24px;
  }

  .nanowarp-footerblock-list > li > p {
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 1160px) {
  #nano-mv {
    padding-bottom: 0;
  }

  #nano-photo-area {
    padding-top: 0;
    padding-bottom: 64px;
  }

  #nano-applications {
    --accordion-width: 100%;
    width: min(674px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
  }

  #nanowarp-UseCases {
    padding-top: 0;
  }

  #nanowarp-UseCases .pill-link {
    margin-top: auto;
  }

  #nanowarp-UseCases .nanowarp-applications-list li p:nth-of-type(2) {
    margin-bottom: 24px;
  }

  #contact {
    --contact-bg-top: 216px;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding-top: 0;
  }

  #nano-applications .photo-accordion,
  #nano-applications .photo-accordion-button {
    width: 100%;
    max-width: 674px;
  }

  #nano-applications .photo-accordion-button {
    margin-top: 24px;
  }

  #nano-applications .photo-accordion {
    height: auto;
    aspect-ratio: 674 / 216;
  }

  #nano-applications .photo-accordion-image {
    height: 100%;
  }

  #nano-applications .photo-accordion .caption h3 {
    font-size: 20px;
  }

  #nano-applications .photo-accordion .caption p {
    font-size: 12px;
  }

  .nanowarp-applications-list {
    gap: 36px;
  }

  .nanowarp-applications-list img {
    height: 38px;
  }

  .nanowarp-applications-list li p:first-of-type {
    font-size: 14px;
  }

  .nanowarp-applications-list li p:nth-of-type(2) {
    padding-top: 14px;
    font-size: 13px;
  }

  .nanowarp-footerblock-list > li {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nanowarp-footerblock-image {
    width: calc(100% + 36px);
    margin-right: -18px;
    margin-left: -18px;
  }

  .nanowarp-footerblock-list > li > p > a {
    padding-right: 0;
    padding-bottom: 8px;
  }

  .nanowarp-footerblock-list > li > p::after {
    top: calc(100% + 16px);
    right: auto;
    left: 0;
    width: 12px;
    height: 15px;
    transform: none;
  }

  .nanowarp-footerblock-list > li > ul {
    padding-top: 26px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .nanowarp-lead {
    margin: 56px;
  }

}

@media (max-width: 1160px) and (hover: hover) and (pointer: fine) {
  .nanowarp-footerblock-list > li:hover > p::after {
    animation: none;
  }
}

@media (min-width: 768px) and (max-width: 1160px) {
  .nanowarp-lead-title {
    margin-bottom: 24px;
  }

  .nanowarp-footerblock-list > li > ul {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }

  #nano-photo-area {
    width: min(674px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
  }

  .nanowarp-applications-list li p:nth-of-type(2) {
    font-size: 14px;
  }

}

@media (max-width: 767px) {
  #nano-mv {
    padding-top: 0;
  }

  #contact::before {
    top: 180px;
  }

  .nanowarp-contact-links {
    flex-direction: column;
    align-items: center;
  }

  #contact .contact-chara {
    height: 121px;
  }

  #contact .contact-message-img {
    width: 100%;
    max-width: 286px;
  }

  .nanowarp-photo-parallax {
    width: min(674px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
  }

  .nanowarp-lead {
    margin: 40px 24px;
  }

  .nanowarp-applications-list li img {
    margin-bottom: 16px;
  }

  .nanowarp-applications-list li p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
  }

  .nanowarp-applications-list li p:nth-of-type(2) {
    margin-bottom: 0;
    padding-top: 8px;
  }

  #nano-applications .photo-accordion {
    height: auto;
    aspect-ratio: auto;
  }

  #nanowarp-applications .nanowarp-applications-list,
  #nanowarp-UseCases .nanowarp-applications-list {
    grid-template-columns: 1fr;
  }

  .nanowarp-footerblock-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nanowarp-footerblock-list > li {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
  }

  .nanowarp-footerblock-list > li > ul {
    display: grid;
    align-content: start;
    gap: 10px;
  }

  .nanowarp-footerblock-list > li > p::after {
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #contact.fade-section .section-heading {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
