@charset "UTF-8";

.h1_title {
  --h1-side: 10%;
  top: 0;
  left: 0;
  padding: 3em 0 0 var(--h1-side);
  width: calc(200px + var(--h1-side));
}

.contact .h1_title {
  min-height: 12em;
}

.h1_title:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/common/h1_title_back.svg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  z-index: -1;
}

.h1_title h1 {
  height: 100%;
}

.h1_title h1 svg {
  fill: #fff;
  height: 100%;
}

.h1_title h1 svg path {
  fill: #fff;
}

.h1_title h1 svg path.initial {
  fill: #fff;
}

.h1_title h1 svg path.initial:before {
  filter: drop-shadow(0px 0px 0px #004893);
  transition: all 0.5s ease-in 0.5s;
}

.h1_title.animated h1 svg path.initial {
  filter: drop-shadow(10px 0px 0px #004893);
}

.h1_title .icon {
  position: relative;
  width: 150%;
  margin: 0.5em 0 0;
  gap: 0.5em
}

.h1_title .icon svg {
  width: 3em;
}

.h1_title .icon img {
  height: 1.2em;
}

@media screen and (max-width: 768px) {
  .h1_title {
    height: 8em;
    padding: 2em 0 0 var(--h1-side);
  }

  .contact .h1_title {
    width: calc(170px + var(--h1-side));
    min-height: 6em;
  }

  .h1_title .icon {
    margin: 0.5em 0 0 -3.5em;
  }
}

/*----------------------------------------top----------------------------------------*/
#top {
  padding: 0;
}

#top.contact {}

#top .base {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
}

#top .inner {}

#top .inner .center {
  width: 80%;
  max-width: 750px;
}

#top .inner .center>* {
  margin: 0 auto;
}

#top .inner .center .text1 {
  width: 50%;
  margin: 0 auto 3em;
}

#top .inner .center .img1 {}

#top .inner .center .text2 {
  width: 50%;
}

#top .inner .center .item2 {
  width: 120px;
  margin: 1em auto;
}

#top .inner .center .img2 {
  width: 250px;
}

#top .inner .center ul {
  --gap: 1em;
  gap: var(--gap);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: min-content;
}

#top .inner .center ul li {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
}

#top .inner .center ul li.big {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}

#top .inner .center ul li p {
  font-size: 0.75em;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  #top .inner .center ul li.big img {
    width: 100%;
    max-height: 150px;
    max-width: 120px;
  }

  #top .inner .center ul li img {
    width: 90%;
    height: auto;
    object-fit: contain;
    max-height: 120px;
    max-width: 100px;
  }
}

@media screen and (max-width: 1180px) {
  #top.top .base {
    height: 100vh;
  }
}


@media screen and (max-width: 768px) {
  #top.product .base {
    height: 100vh;
    max-height: inherit;
  }

  #top .inner .center {}

  #top .inner .center .text1 {
    width: 70%;
  }

  #top .inner .center ul {
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
    --gap: 0.5em;
    width: 60%;
    min-width: 230px;
  }

  #top .inner .center ul li {}

  #top .inner .center ul li:nth-child(1) {
    width: 70%;
  }

  #top .inner .center ul li:nth-child(2),
  #top .inner .center ul li:nth-child(3) {
    width: calc(100% / 3 - var(--gap) / 2);
  }

  #top .inner .center ul li:nth-child(4),
  #top .inner .center ul li:nth-child(5),
  #top .inner .center ul li:nth-child(6) {
    width: calc(100% / 3 - var(--gap) * (1 / 3) * 2);
  }

  #top .inner .center ul li img {
    width: 80%;
    height: auto;
    object-fit: contain;
  }

  #top .inner .center ul li p {
    font-size: 0.7em;
    margin-top: 0.5em;
  }
}
