/* CSS Document */
.spmask {
  display: inline-block;
}

.spmask-inline {
  display: inline;
}

.sponly {
  display: none;
}

@media (max-width: 767px) {
  .spmask {
    display: none;
  }
  .spmask-inline {
    display: none;
  }
  .sponly {
    display: block;
  }
}
/*------------------------------*/
main {
  padding-top: 10rem;
}
@media screen and (max-width: 767px) {
  main {
    padding-top: 7rem;
  }
}

/*------------------------------*/
.mv {
  position: relative;
  height: calc(100vh - 10rem);
  min-height: 500px;
  max-height: 800px;
  display: grid;
  place-content: center;
  overflow: hidden;
  background: url(../images/top/top_mv.jpg) no-repeat center center/cover;
}
@media screen and (max-width: 767px) {
  .mv {
    height: calc(100svh - 7rem);
    max-height: none;
    background: url(../images/top/top_mv_sp.jpg) no-repeat center center/cover;
  }
}
.mv #spectrumCanvas {
  position: absolute;
  inset: 0;
}
.mv .copy {
  text-align: center;
  font-weight: 500;
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-inline: 2rem;
  aspect-ratio: 1;
  border-radius: 100vmax;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}
.mv .copy p.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
}
.mv .copy p.main span {
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}
.mv .copy p.main span:first-of-type {
  font-size: 4.8rem;
}
@media screen and (max-width: 767px) {
  .mv .copy p.main span:first-of-type {
    font-size: 2.6rem;
  }
}
.mv .copy p.main span:last-of-type {
  color: var(--main);
  font-size: 6rem;
}
@media screen and (max-width: 767px) {
  .mv .copy p.main span:last-of-type {
    font-size: 3.5rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1.3;
  }
}
.mv .copy p.sub {
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .mv .copy p.sub {
    margin-top: 1rem;
  }
}
.mv .copy p.sub span {
  font-size: 1.8rem;
}
@media screen and (max-width: 767px) {
  .mv .copy p.sub span {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}
.mv .copy::before, .mv .copy::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  background-color: transparent;
  aspect-ratio: 1;
  border-radius: 100vmax;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  box-sizing: content-box;
}
.mv .copy::before {
  width: 106%;
  border: 4.5rem solid rgba(255, 255, 255, 0.5);
}
@media screen and (max-width: 767px) {
  .mv .copy::before {
    width: 105%;
    border-width: 2.2rem;
  }
}
.mv .copy::after {
  width: 122%;
  border: 0.5rem solid rgba(255, 255, 255, 0.5);
}
@media screen and (max-width: 767px) {
  .mv .copy::after {
    width: 119%;
    border-width: 0.3rem;
  }
}

/*------------------------------*/
.lead {
  padding-block: 10rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .lead {
    padding-block: 6rem 10rem;
  }
}
.lead::before, .lead::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  height: 100%;
}
.lead::before {
  left: 0;
  width: 50vw;
  background: url(../images/top/top_polygon_l.gif) no-repeat left top/contain;
}
@media screen and (max-width: 767px) {
  .lead::before {
    display: none;
  }
}
.lead::after {
  right: 0;
  width: 56.25vw;
  background: url(../images/top/top_polygon_r.gif) no-repeat right top/contain;
}
@media screen and (max-width: 767px) {
  .lead::after {
    width: 100%;
  }
}
.lead .inner {
  position: relative;
  z-index: 1;
}
.lead .title {
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 3.5rem;
  margin-bottom: 3.5rem;
}
@media screen and (max-width: 767px) {
  .lead .title {
    row-gap: 3rem;
    margin-bottom: 3rem;
    line-height: 1.35;
  }
}
.lead .title::after {
  content: "";
  display: block;
  width: 10rem;
  height: 0.8rem;
  background-color: var(--main);
}
@media screen and (max-width: 767px) {
  .lead .title::after {
    width: 8rem;
  }
}
.lead p.readText {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .lead p.readText {
    text-align: left;
  }
}
.lead .borderLink {
  width: 34rem;
  height: 6rem;
  margin-inline: auto;
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  .lead .borderLink {
    margin-top: 4rem;
    width: calc(100% - 4rem);
  }
}

/*------------------------------*/
.about {
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .about {
    overflow: visible;
  }
}
.about .about-wrap {
  display: grid;
  grid-template-columns: calc(50% - 12rem) 1fr;
  -moz-column-gap: 12rem;
       column-gap: 12rem;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  z-index: 1;
  position: relative;
}
@media screen and (max-width: 767px) {
  .about .about-wrap {
    grid-template-columns: 1fr;
  }
}
.about .about-wrap .text h2.title {
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1;
  color: var(--main);
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  .about .about-wrap .text h2.title {
    font-size: 3.2rem;
  }
}
.about .about-wrap .text p.title-en {
  margin-top: 1.5rem;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-gray);
}
@media screen and (max-width: 767px) {
  .about .about-wrap .text p.title-en {
    margin-top: 0.6rem;
    font-size: 1.8rem;
  }
}
.about .about-wrap .text .about-container {
  margin-top: 5rem;
  padding-bottom: 10rem;
}
@media screen and (max-width: 767px) {
  .about .about-wrap .text .about-container {
    margin-top: 5rem;
    position: relative;
    z-index: 1;
    padding-bottom: 8rem;
  }
}
.about .about-wrap .text .about-container li {
  position: relative;
}
.about .about-wrap .text .about-container li::before, .about .about-wrap .text .about-container li::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
}
.about .about-wrap .text .about-container li::before {
  z-index: 0;
  background-color: var(--gray);
}
.about .about-wrap .text .about-container li::after {
  z-index: 1;
  background-color: var(--main);
  scale: 0 1;
  transform-origin: right;
  transition: scale 0.2s ease;
}
.about .about-wrap .text .about-container li a {
  padding-block: 3rem 2rem;
  display: flex;
  align-items: flex-end;
  line-height: 1;
  font-size: 2.1rem;
  font-weight: 600;
  position: relative;
}
@media screen and (max-width: 767px) {
  .about .about-wrap .text .about-container li a {
    font-size: 1.8rem;
  }
}
.about .about-wrap .text .about-container li a span {
  display: inline-block;
  letter-spacing: 0.075em;
  margin-left: 0.6em;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .about .about-wrap .text .about-container li a span {
    font-size: 1.3rem;
  }
}
.about .about-wrap .text .about-container li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1rem;
  -webkit-mask-image: var(--arrow);
          mask-image: var(--arrow);
  inline-size: 2.8rem;
  display: inline-block;
  aspect-ratio: 1;
  background-color: var(--text-gray);
  transition: background-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .about .about-wrap .text .about-container li:hover::after {
    scale: 1 1;
    transform-origin: left;
    transition: scale 0.25s ease;
  }
  .about .about-wrap .text .about-container li:hover a::after {
    background-color: currentColor;
  }
}
.about .about-wrap .image {
  position: relative;
  height: 100%;
  width: 50vw;
  max-width: 66rem;
}
@media screen and (max-width: 767px) {
  .about .about-wrap .image {
    width: 50%;
    height: auto;
    position: absolute;
    z-index: 0;
    right: -2rem;
    top: -4.5rem;
  }
}
.about .about-wrap .image img {
  position: absolute;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  height: 100%;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .about .about-wrap .image img {
    position: static;
  }
}

/*------------------------------*/
.products {
  padding-bottom: 19rem;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .products {
    padding-bottom: 12rem;
    overflow: hidden;
  }
}
.products::before, .products::after {
  content: "";
  display: block;
  position: absolute;
  width: 50%;
  z-index: 0;
  bottom: 0;
  height: calc(100% - 37.5vw + 1vw);
}
.products::before {
  left: 0;
  background: url(../images/top/top_polygon_l.gif) no-repeat left bottom/contain;
}
@media screen and (max-width: 767px) {
  .products::before {
    width: 100%;
    height: 100%;
  }
}
.products::after {
  right: 0;
  background: url(../images/top/top_polygon_r.gif) no-repeat right bottom/contain;
}
@media screen and (max-width: 767px) {
  .products::after {
    display: none;
  }
}
.products .bg {
  margin-bottom: -21.875vw;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .products .bg {
    transform-origin: top;
    scale: 2;
  }
}
.products .products-wrap {
  padding-inline: 6rem;
  padding-bottom: 5rem;
  background-color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0.5rem -0.2rem #9ba7ae;
}
@media screen and (max-width: 767px) {
  .products .products-wrap {
    padding-inline: 2rem;
  }
}
.products .products-wrap p.title-en {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  translate: 0 -50%;
}
.products .products-wrap h2.title {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1;
  color: var(--main);
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  .products .products-wrap h2.title {
    font-size: 2.8rem;
    line-height: 1.35;
    letter-spacing: 0.05em;
    margin-top: 1.2rem;
  }
}
.products .products-wrap p.readText {
  margin-top: 4rem;
}
@media screen and (max-width: 767px) {
  .products .products-wrap p.readText {
    margin-top: 2.5rem;
  }
}
.products .products-wrap .products-container {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  -moz-column-gap: 2.5rem;
       column-gap: 2.5rem;
}
@media screen and (max-width: 767px) {
  .products .products-wrap .products-container {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    margin-top: 4rem;
  }
}
.products .products-wrap .products-container a {
  background-image: var(--grad-toT);
  padding-block: 4rem 3.5rem;
  color: #fff;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  justify-content: center;
  transition: opacity 0.1s;
}
@media (hover: hover) and (pointer: fine) {
  .products .products-wrap .products-container a:hover {
    opacity: 0.8;
  }
  .products .products-wrap .products-container a:hover .icon {
    -webkit-animation: icon-swing 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            animation: icon-swing 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}
@media screen and (max-width: 767px) {
  .products .products-wrap .products-container a {
    padding-block: 2rem 1.5rem;
    row-gap: 0;
  }
}
.products .products-wrap .products-container a .icon {
  margin-inline: auto;
}
.products .products-wrap .products-container a:nth-of-type(1) .icon {
  width: 4.6rem;
}
.products .products-wrap .products-container a:nth-of-type(2) .icon {
  width: 4.4rem;
}
.products .products-wrap .products-container a:nth-of-type(3) .icon {
  width: 4.5rem;
}
.products .products-wrap .products-container a > p {
  text-align: center;
  line-height: 1.5;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1em;
}
@media screen and (max-width: 767px) {
  .products .products-wrap .products-container a > p {
    margin-top: 1.8rem;
  }
}
.products .products-wrap .products-container a .arrow {
  -webkit-mask-image: var(--arrow);
          mask-image: var(--arrow);
  inline-size: 2.8rem;
  display: inline-block;
  aspect-ratio: 1;
  background-color: currentColor;
  margin-inline: auto;
  margin-top: 0.5rem;
  transition: background-color 0.25s ease;
}
@media screen and (max-width: 767px) {
  .products .products-wrap .products-container a .arrow {
    margin-top: 0;
  }
}
.products .products-wrap .borderLink {
  width: 34rem;
  height: 6rem;
  margin-inline: auto;
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  .products .products-wrap .borderLink {
    width: 100%;
    margin-top: 4rem;
  }
}
/*# sourceMappingURL=top.css.map */