@charset "UTF-8";

/* =================================================================
  CSSカスタムプロパティ
================================================================= */
:root {
  /* color */
  --text-black: #323232;
  --text-white: #FFFFFF;
  --text-primary: #0C59A5;

  /* background-color */
  --bg-white: #FFFFFF;
  --bg-gray-box: #F8F8F8;
  --bg-primary: #0C59A5;
  --bg-about: #DFF1FF;
  --bg-solution: #DFF1FF;
  --bg-platform: #D7F4FF;
  --bg-phase: #D7F4FF;
  --bg-movie: #DFF1FF;
  --bg-solutions: #D7F4FF;
  --bg-form: #DFF1FF;
  --bg-contact-btn: #2152BA;
  --bg-footer-sitemap: #212A37;

  /* border-color */
  --border-white: #ffffff;
  --border-primary: #0C59A5;

  /* border-radius */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --radius-full: 999px;
  @media (width < 768px) {
    --radius-md: 10px;
    --radius-lg: 20px;
  }

  /* font-family */
  --font-family-ja: "Noto Sans JP", sans-serif;
  --font-family-en: "Lato", sans-serif;
}

/* =================================================================
  common - elements
================================================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
  @media (width < 768px) {
    scroll-padding-top: 4.5rem;
  }
}
body {
  color: var(--text-black);
  background: var(--bg-white);
  font-family: var(--font-family-ja);
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: var(--text-black);
  text-decoration: none;
}

/* =================================================================
  common - parts
================================================================= */
.pc-only {
  display: block;
  @media (width < 768px) {
    display: none;
  }
}
.sp-only {
  display: none;
  @media (width < 768px) {
    display: block;
  }
}
.sec__ttl {
  display: grid;
  justify-content: center;
  gap: 0.625rem;
  color: var(--text-primary);
  line-height: 1;
  text-align: center;
}
.sec__ttl--en {
  font-family: var(--font-family-en);
  font-size: 4.5rem;
  @media (width < 768px) {
    font-size: 2.25rem;
  }
}
.sec__ttl--ja {
  font-size: 1.25rem;
  @media (width < 768px) {
    font-size: 0.875rem;
  }
}
.modal__btn {
  display: none;
  @media (width < 768px) {
    position: absolute;
    right: 0.625rem;
    bottom: 0.375rem;
    display: inline-block;
    width: 2.375rem;
  }
}
.modal{
  display: none;
  &.is-open {
    display: block;
  }
}
.modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
}
.modal__container {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  width: min(94%, 37.5rem);
  max-height: 100dvh;
  margin-inline: auto;
  padding: 2rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
}
.modal__close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  display: inline-block;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 0.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  span {
    grid-column: 1/-1;
    grid-row: 1/-1;
    display: inline-block;
    width: 16px;
    height: 2px;
    background-color: var(--bg-white);
    &:nth-last-of-type(1) {
      transform: rotate(45deg);
    }
    &:nth-last-of-type(2) {
      transform: rotate(-45deg);
    }
  }
}

/* =================================================================
  animation keyframes
================================================================= */
@keyframes vertical-slide {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
      transform: translateY(50%);
      opacity: 0;
  }
  51% {
      transform: translateY(-50%);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes vertical-slide-absolute {
  0% {
    transform: translateY(-50%);
    opacity: 1;
  }
  50% {
      transform: translateY(0%);
      opacity: 0;
  }
  51% {
      transform: translateY(-100%);
      opacity: 0;
  }
  100% {
      transform: translateY(-50%);
      opacity: 1;
  }
}

@keyframes horizontal-slide {
  0% {
    transform: translate(0,-50%);
    opacity: 1;
  }
  50% {
      transform: translate(50%,-50%);
      opacity: 0;
  }
  51% {
      transform: translate(-50%,-50%);
      opacity: 0;
  }
  100% {
      transform: translate(0,-50%);
      opacity: 1;
  }
}

/* =================================================================
  utility class
================================================================= */
.fc-primary {
  color: var(--text-primary);
}

/* =================================================================
  pageTop
================================================================= */
.pageTop {
  position: fixed;
  right: 0;
  bottom: 2.5rem;
  transform: translateX(2.5rem);
  transition: transform .4s;
  z-index: 70;
  @media (width < 768px) {
    transform: translateX(2rem);
    bottom: 1.25rem;
  }
  &.is-active {
    transform: translateX(0);
  }
}
.pageTop__anchor {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.25rem;
  width: 2.5rem;
  height: 3.75rem;
  border: 2px solid var(--border-primary);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-primary);
  background-color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  @media (width < 768px) {
    width: 2rem;
    height: 3.125rem;
    font-size: 0.625rem;
  }
  &::before {
    content: '';
    display: inline-block;
    width: 0.4375rem;
    height: 0.25rem;
    background: url(/assets/img/common/icon_arrow.svg) center/contain no-repeat;
    transform: rotate(180deg);
  }
}

/* =================================================================
  header
================================================================= */
.top .header {
  display: none;
  transform: translateY(-6.25rem);
  transition: transform .4s;
  @media (width < 768px) {
    transform: translateY(-4.5rem);
  }
  &.is-active {
    position: sticky;
    top: 0;
    display: block;
    transform: translateY(0);
    z-index: 50;
    
  }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 115rem;
  height: 6.25rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  background-color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  @media (width < 768px) {
    height: 4.5rem;
    padding-inline: 0.75rem;
  }
}
.header__logo {
  width: 16.8125rem;
  @media (width < 768px) {
    width: 16.25rem;
  }
}
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, -3.2143rem + 4.7619vw, 2.5rem);
}
.header__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9375rem, -2.4107rem + 3.5714vw, 1.875rem);
  height: 2.25rem;
  @media (width < 1500px) {
    display: none;
  }
}
.header__menu-item {
  height: 100%;
}
.header__menu-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1;
  &::after {
    content: '';
    display: inline-block;
    width: 0.4375rem;
    height: 0.4375rem;
    background: url(/assets/img/common/icon_arrow.svg) center/cover no-repeat;
    transition: transform .6s cubic-bezier(.25, 1, .5, 1);
  }
  &:hover {
    @media(hover: hover) {
      &::after {
        transform: translateY(0.25rem);
      }
      .--before {
        opacity: 0;
        transform: translateY(100%);
      }
      .--after {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}
.header__menu-txt {
  position: relative;
  width: fit-content;
  height: 100%;
  overflow: hidden;
  .--before,
  .--after {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
  }
  .--after {
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform .4s;
  }
}
.header__contact {
  display: flex;
  gap: 0.3125rem;
  @media (width <= 768px) {
    display: none;
  }
}
.header__contact-link {
  position: relative;
  display: flex;
  width: 10.8125rem;
  height: 3.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: var(--radius-xs);
  color: var(--text-white);
  background-color: var(--bg-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  svg {
    width: 1.25rem;
  }
  &.--download svg {
    fill: var(--bg-white);
  }
  &.--inquiry {
    fill: var(--bg-white);
  }
  &:hover {
    @media(hover: hover) {
      .header__contact-icon {
        animation: vertical-slide .6s ease-in-out;
      }
    }
  }
}

.header__contact-icon {
  display: inline-block;
  overflow: hidden;
}
.header__drawer {
  display: none;
  @media (width < 1500px) {
    display: inline-block;
  }
}
.header__drawer-inner {
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  span {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--bg-white);
    transition: all .4s;
  }
}

body.is-fixed {
  height: 100dvh;
  overflow: hidden;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  transform: translateX(100vw);
  transition: transform .4s;
  overflow: hidden;
  z-index: 100;
  &.is-active {
    transform: translateX(0);
    .drawer__area {
      transform: translateX(0);
    }
  }
}
.drawer__back {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.drawer__area {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 24.375rem;
  height: 100dvh;
  background-color: var(--bg-primary);
  transform: translateX(24.375rem);
  overflow: auto;
  @media (width <= 600px) {
    min-width: 100%;
  }
}
.drawer__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.drawer__close-inner {
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  span {
    grid-column: 1/-1;
    grid-row: 1/-1;
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--bg-white);
    &:nth-last-of-type(1) {
      transform: rotate(45deg);
    }
    &:nth-last-of-type(2) {
      transform: rotate(-45deg);
    }
  }
}
.drawer__inner {
  margin-inline: auto;
  padding: 4.625rem 1.5rem;
}
.drawer__menu-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-white);
  text-align: center;
  @media (width <= 375px) {
    padding-bottom: 1rem;
  }
  &:not(:first-of-type) {
    padding-top: 1.25rem;
    @media (width <= 375px) {
      padding-top: 1rem;
    }
  }
}
.drawer__menu-link {
  position: relative;
  display: inline-block;
  width: 100%;
  color: var(--text-white);
  line-height: 2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  @media (width <= 375px) {
    line-height: 1;
  }
  .--before {
    display: block;
  }
  .--after {
    position: absolute;
    top: 0;
    left: 50;
    display: block;
    inset: 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform .4s;
  }
  &:hover {
    @media(hover: hover) {
      .--before {
        opacity: 0;
        transform: translateY(100%);
      }
      .--after {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}
.drawer__cta-list {
  display: grid;
  gap: 1.875rem;
  width: min(20rem, 100%);
  margin: 2.5rem auto 0;
}
.drawer__cta-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.75rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  background-color: var(--bg-white);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  &:hover {
    @media(hover: hover) {
      .drawer__cta-icon {
         animation: horizontal-slide .6s ease-in-out;
      }
    }
  }
}
.drawer__cta-icon {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transform-origin: center;
  width: 1.5rem;
  fill: transparent;
  stroke: var(--border-primary);
  overflow: hidden;
}

/* =================================================================
  footer
================================================================= */
.footer {
  position: relative;
  margin-top: 5rem;
  z-index: 1;
  @media (width < 900px) {
    margin-top: 2.5rem;
  }
}
.contact {
  background: var(--bg-primary);
}
.contact__inner {
  width: min(100%, 75rem);
  margin-inline: auto;
}
.contact__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  @media (width < 900px) {
    grid-template-columns: 1fr;
  }
}
.contact__item {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  min-height: 24.375rem;
  padding: 4.5rem 1.25rem;
  @media (width < 900px) {
    gap: 1.25rem;
    min-height: auto;
    padding: 3.125rem 1.5rem;
  }
  &:nth-of-type(1) {
    background: url(/assets/img/common/bg_footer_01.webp) no-repeat center/cover;
  }
  &:nth-of-type(2) {
    background: url(/assets/img/common/bg_footer_02.webp) no-repeat center/cover;
  }
}
.contact__ttl {
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  @media (width < 900px) {
    font-size: 1.5rem;
  }
}
.contact__txt {
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  @media (width < 900px) {
    font-size: 0.875rem;
  }
}
.contact__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(20rem, 100%);
  height: 4.375rem;
  margin-inline: auto;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  font-weight: 700;
  @media (width < 900px) {
    height: 3.75rem;
  }
  &:hover {
    @media(hover: hover) {
      .contact__link-icon {
        animation: horizontal-slide .6s ease-in-out;
      }
    }
  }
  &.--download {
    color: var(--text-white);
    background-color: var(--bg-primary);
    .contact__link-icon svg {
      stroke: var(--border-white);
    }
  }
  &.--inquiry {
    color: var(--text-primary);
    background-color: var(--bg-white);
    .contact__link-icon svg {
      stroke: var(--border-primary);
    }
  }
}
.contact__link-icon {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  transform: translateY(-50%);
  transform-origin: center;
  fill: transparent;
  overflow: hidden;
}
.sitemap {
  color: var(--text-white);
  background: var(--bg-footer-sitemap);
  a {
    color: var(--text-white);
    font-size: 1rem;
    @media (width < 900px) {
      font-size: 0.875rem
    }
  }
}
.sitemap__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 1.25rem;
  width: min(100%, 75rem);
  margin-inline: auto;
  padding: 2.375rem 1.25rem;
  @media (width < 900px) {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    padding: 1.25rem 0;
  }
}
.group-link {
  grid-column: 1;
  grid-row: 1/-1;
  @media (width < 900px) {
    grid-row: 1;
    padding-inline: 1.25rem;
  }
}
.group-link__container {
  display: grid;
  gap: 1rem;
  @media (width < 900px) {
    gap: 0.875rem;
  }
}
.group-link__anchor,
.info-link__anchor {
  position: relative;
  display: inline-block;
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--bg-white);
    transition: transform .6s;
    transform: scale(0,0.5);
    transform-origin: left top;
  }
  &:hover::after {
    @media(hover: hover) {
      transform: scale(1,0.5);
    }
  }
}
.info-link {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  @media (width < 900px) {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% - 1.5rem);
    margin: 2.875rem 0.75rem 0;
    padding-block: 1.25rem;
    border-top: 1px solid var(--border-white);
    border-bottom: 1px solid var(--border-white);
  }
}
.info-link__container {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  @media (width < 600px) {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
  }
}
.info-link__item {
  @media (600px <= width < 900px) {
    text-align: center;
  }
  &:nth-of-type(even) {
    @media (width < 600px) {
      text-align: right;
    }
  }
}
.company-link {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin-top: auto;
  @media (width < 900px) {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    margin-top: 2.875rem;
    padding-inline: 1.25rem;
  }
}
.company-link__container {
  display: grid;
  gap: 0.875rem;
  @media (width < 900px) {
    justify-items: center;
  }
}
.company-link__item {
  text-align: right;
  @media (width < 900px) {
    text-align: center;
  }
}
.company-link__logo_itec {
  width: 16.51375rem;
}
.company-link__logo_hhtg {
  width: 8.125rem;
}
.company-link__copyright {
  margin-top: 2.875rem;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: right;
  @media (width < 900px) {
    text-align: center;
  }
}