@charset "UTF-8";
/* CSS Document */

.section__top {
  position: relative;
}
.top-container {
  height: 100vh;
}
.section__top img {
  height: 100vh;
  margin: 0 auto;
  object-fit: cover;
}

/*.top-container:after {
  content: "";
  background-image: linear-gradient(135deg, rgba(196, 182, 197, 1), rgba(35, 117, 163, 1));
  opacity: .8;
  position: absolute;
  inset: 0;
}
*/
.top-container:after {
  content: "";
  background: linear-gradient(50deg, #2375A3, #c4c4c4);
  background-size: 600% 600%;
  animation: GradientBackground 8s ease infinite;
  opacity: .8;
  position: absolute;
  inset: 0;
}

@keyframes GradientBackground {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.top-container h2 {
  position: absolute;
  text-align: left;
  bottom: 15%;
  left: 5%;
  color: #FFF;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 8rem;
  line-height: 9rem;
  font-weight: 600;
}

@media (max-width: 820px) {
  .top-container {
   height: 90vh;
}
  .section__top img {
    height: 90vh;
    object-position: 15% 0%;
  }
  .top-container h2 {
    font-size: 5rem;
    line-height: 5.5rem;
    bottom: 12%;
    font-weight: 500;
  }
  .section__about_wapper {
    flex-wrap: wrap;
}
}
.section__about, .section__workflow, .section__category {
  width: 95%;
  margin: 0 auto;
}
.section__about h2, .section__workflow h2, .section__category h2 {
    font-size: 8rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;;
    padding: 3% 0%;
    border-radius: 10px;
    margin: 15% auto 5%;
    text-align: left;
}
.section__about h2 span, .section__workflow h2 span, .section__category h2 span{
  font-size: 1.8rem;
    font-family: 'Noto Sans JP';
    margin-left: 15px;
}
.section__about_wapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 5%;
  margin-bottom: 50px;
}
.section__about img {
  width: 40%;
  height: 320px;
  object-position: 38% 0%;
  object-fit: cover;
}
@media (max-width: 820px) {
  .section__about h2, .section__workflow h2, .section__category h2 {
   font-size: 4.3rem;
   margin-top: 25%;
   padding: 3% 5%;
  }
  .section__about h2 span, .section__workflow h2 span, .section__category h2 span{
  font-size: 1.5rem;
  }
  .section__about_wapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 90%;
    margin:0 auto 40px;
  }
.section__about img {
    width: 100%;
    height: 200px;
  }
}
.section__workflow_wapper {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 5%;
}
.section__workflow_wapper-content {
  position: relative;
  width: 420px;
  padding: 3%;
  border-radius: 20px;
  border: 3px solid #0b2b51;
  margin: 0 auto 60px;
  z-index: 2;
  background: #FFF;
}

.section__workflow_wapper-content img {
  position: absolute;
  top: -5%;
  left: -4%;
}
.section__workflow_wapper-content p {
  margin: 45% 0 0;
}
.section__workflow_wapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 1080px) {
  .section__workflow_wapper-content{
      margin-bottom:30px;
  }
}
@media (max-width: 820px) {
  .section__workflow_wapper-content{
 padding: 7%;
}
.section__workflow_wapper-content img{
width: 100%;
}
}
.section__category {
  position: relative;
}
.section__category_wapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.section__category_content {
  position: relative;
  margin-bottom: 60px;
  border-radius: 20px;
  overflow: hidden;
}
.section__category_content a {
  opacity: 1;
}
.section__category_content h3 {
    font-family: "Noto Sans JP";
    font-size: 2rem;
    margin-bottom: 10%;
    font-weight: 500;
    line-height: 2.5rem;
    text-align: center;
    position: absolute;
    top: 55%;
    left: 50%;
    color: #FFF;
    z-index: 10;
    transform: translate(-50%, -50%);
}
.section__category_content_img {
  cursor: pointer;
  max-width: 480px;
  overflow: hidden;
  width: 420px;
  height: 280px;
}
.section__category_content_img h3 {
  display: flex;
  flex-direction: column;
}
.section__category_content_img::after {
  content: "";
  background: #333;
  opacity: .5;
  position: absolute;
  /*top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  ↓nset:0;*/
  inset: 0;
}
.section__category_content_img img {
  width: 420px;
  height: 280px;
  object-fit: cover;
  transition: transform 1s ease; /* ゆっくり変化させる */
}
.section__category_content_img:hover img {
  transform: scale(1.2); /* 拡大 */
}
.section__category_content_img span {
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  font-weight: 500;
}
@media (max-width: 884px) {
  .section__category_content{
    margin-bottom:30px;
  }
}
@media (max-width: 520px){
    .section__workflow_wapper-content {
      width:75%;
  }
}
@media (max-width: 820px){
.section__category_wapper {
  width: 90%;
  margin: 0 auto;
}
.section__category_content_img {
  height:220px;
}
.section__category_content_img img {
  height:220px;
}
}

