@charset "UTF-8";
#main-visual {
  position: relative;
  height: calc(100vh - 80px);
}
#main-visual .slide {
  width: 100%;
  height: 100%;
}
#main-visual .slide div {
  height: 100%;
  width: 100%;
  position: relative;
}
#main-visual .slide div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
}
#main-visual .slide div.slide01::before {
  background-image: url(../images/top/img_main01.png);
  background-repeat: no-repeat;
  background-position: center top;
}
#main-visual .slide div.slide02::before {
  background-image: url(../images/top/img_main02.png);
  background-repeat: no-repeat;
  background-position: center top;
}
#main-visual .slide div.slide03::before {
  background-image: url(../images/top/img_main03.png);
  background-repeat: no-repeat;
  background-position: center top;
}
#main-visual .copy {
  max-width: 1000px;
  width: 95%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translate(0, 45px);
  -webkit-animation: fade ease 1s 0.3s forwards;
          animation: fade ease 1s 0.3s forwards;
}
#main-visual .copy img {
  max-width: 592px;
  width: 59.2%;
}
#main-visual .scroll {
  max-width: 1000px;
  width: 95%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#main-visual .scroll img {
  width: 9px;
  height: auto;
}
#main-visual .scroll span {
  display: block;
  width: 5px;
  height: 65px;
  margin-top: 5px;
  position: relative;
}
#main-visual .scroll span::before {
  content: "";
  display: block;
  width: 1px;
  height: 65px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
#main-visual .scroll span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  -webkit-animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
          animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}

.slide-animation {
  -webkit-animation: fadezoom 8s 0s ease-in-out forwards;
          animation: fadezoom 8s 0s ease-in-out forwards;
}

@-webkit-keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
@-webkit-keyframes circlemove {
  0% {
    bottom: 65px;
  }
  100% {
    bottom: -5px;
  }
}
@keyframes circlemove {
  0% {
    bottom: 65px;
  }
  100% {
    bottom: -5px;
  }
}
@-webkit-keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes fade {
  0% {
    opacity: 0;
    transform: translate(0, 45px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
    transform: translate(0, 45px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
h2 {
  font-size: 1.75em;
  font-weight: 700;
  -ms-writing-mode: tb-lr;
      writing-mode: vertical-lr;
  width: 100px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
h2::before {
  content: "－" attr(data-en);
  font-size: 0.875rem;
  display: block;
  margin-right: 5px;
}

.btn {
  height: 50px;
}
.btn a {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  z-index: 0;
  transition: 0.5s;
  overflow: hidden;
}
.btn a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1c1c62;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  z-index: -1;
}
.btn a::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 4px;
  -webkit-mask: url(../images/common/btn_arrow.svg) no-repeat center center;
          mask: url(../images/common/btn_arrow.svg) no-repeat center center;
  -webkit-mask-size: auto 100%;
          mask-size: auto 100%;
  margin-left: 10px;
  transition: 0.5s;
}

.sdgs {
  box-shadow: 4px 4px 0 #333333;
}

#news {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 100px 0 120px;
}
#news dl {
  width: calc(85% - 100px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: -30px auto 0;
}
#news dl dt {
  width: 215px;
  margin-top: 30px;
}
#news dl dt span {
  font-size: 0.875em;
  color: #fff;
  text-align: center;
  display: inline-block;
  width: 110px;
  margin-left: 1em;
  padding: 5px 0;
  border-radius: 10px;
}
#news dl dt span.news {
  background: #1c1c62;
}
#news dl dt span.products {
  background: #b2872d;
}
#news dl dd {
  width: calc(100% - 240px);
  margin-top: 30px;
}
#news .btn {
  max-width: 400px;
  width: 90%;
  margin: 80px auto 0;
}
#news .btn a {
  color: #1c1c62;
  border: 1px solid #1c1c62;
}
#news .btn a::after {
  background: #1c1c62;
}

#company, #recruit {
  position: relative;
}
#company .inner, #recruit .inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px 0;
}
#company::before, #recruit::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 78.125%;
  height: 350px;
  z-index: -1;
}
#company .txt, #recruit .txt {
  max-width: 300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#company .txt p, #recruit .txt p {
  height: 250px;
  line-height: 1.75em;
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
}
#company .txt .btn, #recruit .txt .btn {
  width: 100%;
  -ms-writing-mode: lr-tb;
      writing-mode: horizontal-tb;
  order: 3;
  background: #fff;
  margin-top: 70px;
}
#company .txt .btn a, #recruit .txt .btn a {
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}
#company .txt .btn a::after, #recruit .txt .btn a::after {
  background: #333;
}
#company .img, #recruit .img {
  max-width: 550px;
  width: 55%;
  order: -1;
  position: relative;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}
#company .img::before, #recruit .img::before {
  content: "";
  width: 63.63%;
  aspect-ratio: 7/6;
  position: absolute;
  top: -50px;
  display: block;
  height: auto;
  z-index: -1;
}

#company {
  margin-top: 100px;
}
#company::before {
  right: 0;
  background: #dddde7;
}
#company h2::before {
  color: #1c1c62;
}
#company .txt p {
  order: 1;
}
#company .txt h2 {
  order: 2;
}
#company .txt .btn a::before {
  background: #dc8ca0;
}
#company .img::before {
  background: #1c1c62;
  right: -50px;
}

#recruit::before {
  left: -50px;
  background: #f3eddf;
}
#recruit h2::before {
  color: #b2872d;
}
#recruit .txt {
  order: -1;
  justify-content: flex-start;
  /*p { order: 1; }
  h2 { order: 2; }*/
}
#recruit .img::before {
  background: #b2872d;
  left: -50px;
}

@media (hover: hover) and (pointer: fine) {
  .btn a:hover {
    color: #fff !important;
  }
  .btn a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
  .btn a:hover::after {
    background: #fff !important;
  }
}
@media screen and (max-width: 767px) {
  #news dl {
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
  }
  #news dl dt {
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid #ccc;
  }
  #news dl dd {
    width: 100%;
    margin-top: 20px;
  }
}
@media screen and (max-width: 600px) {
  #main-visual {
    height: calc(100vh - 60px);
  }
  #main-visual .copy img {
    max-width: 592px;
    width: 100%;
  }
  h2 {
    font-size: 1.625rem;
    -ms-writing-mode: lr-tb;
        writing-mode: horizontal-tb;
    width: 100%;
    align-items: center;
  }
  h2::before {
    display: none;
  }
  h2::after {
    content: attr(data-en);
    font-size: 0.875rem;
    color: #1c1c62;
    display: block;
    margin-top: 10px;
  }
  #news {
    flex-wrap: wrap;
  }
  #news dl {
    width: 100%;
    margin-top: 45px;
  }
  #company::before, #recruit::before {
    width: 100%;
    height: 200px;
  }
  #company .inner, #recruit .inner {
    padding: 100px 0 150px;
    flex-direction: column;
  }
  #company .txt, #recruit .txt {
    order: -1;
    max-width: initial;
    width: 100%;
    justify-content: flex-start;
  }
  #company .txt p, #recruit .txt p {
    height: auto;
    -ms-writing-mode: lr-tb;
        writing-mode: horizontal-tb;
    margin-top: 30px;
  }
  #company .txt .btn, #recruit .txt .btn {
    max-width: 400px;
    width: 90%;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  #company .img, #recruit .img {
    max-width: 550px;
    width: calc(100% - 30px);
    margin-top: 90px;
  }
  #company .img::before, #recruit .img::before {
    content: "";
    width: 63.63%;
    aspect-ratio: 7/6;
    position: absolute;
    top: -30px;
    display: block;
    height: auto;
    z-index: -1;
  }
  #company {
    margin-top: 0px;
  }
  #company .txt p {
    order: 2;
  }
  #company .txt h2 {
    order: 1;
  }
  #company .img::before {
    right: -30px;
  }
  #recruit::before {
    left: 0;
  }
  #recruit h2::after {
    color: #b2872d;
  }
  #recruit .txt {
    order: -1;
    justify-content: flex-start;
  }
  #recruit .img {
    margin-left: auto;
  }
  #recruit .img::before {
    background: #b2872d;
    left: -30px;
  }
}