/*
Theme Name: Twenty Twenty-one Child
Version: 1.6
Template: twentytwentyone
*/
:root {
  --viewport-width: min(100vw, 2000px);
  --b: calc(var(--viewport-width) / 160);
}

#work .work-title {
  display: grid;
  gap: max(2rem, 15px);
  margin-bottom: max(3.5rem, 30px);
}
#work .work-title p {
  font-family: YakuHanJP, "Outfit", sans-serif;
  font-size: max(1.6rem, 14px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
#work .work-title h3 {
  font-size: max(3.6rem, 24px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}
#work .work-title--primary p,
#work .work-title--primary h3 {
  color: #3a9447;
}
#work .work-title--secondary p,
#work .work-title--secondary h3 {
  color: #fff;
}
#work .preface__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(12rem, 50px);
  padding-bottom: max(11rem, 50px);
}
@media screen and (max-width: 1000px) {
  #work .preface__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
#work .preface__wrapper .textBox hgroup {
  display: grid;
  gap: max(2rem, 15px);
  margin-bottom: max(3.5rem, 30px);
}
#work .preface__wrapper .textBox hgroup p {
  color: #3a9447;
  font-family: YakuHanJP, "Outfit", sans-serif;
  font-size: max(1.6rem, 14px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
#work .preface__wrapper .textBox hgroup h3 {
  color: #3a9447;
  font-size: max(3.6rem, 24px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}
#work .preface__wrapper .textBox > p {
  font-size: max(1.6rem, 14px);
  font-weight: 500;
  line-height: 3;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1300px) {
  #work .preface__wrapper .textBox > p {
    line-height: 2.5;
  }
}
#work .preface__wrapper .imageBox {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: max(62rem, 400px);
}
@media screen and (max-width: 1000px) {
  #work .preface__wrapper .imageBox {
    width: min(80%, 500px);
  }
}
@media screen and (max-width: 768px) {
  #work .preface__wrapper .imageBox {
    width: 100%;
  }
}
#work .solution {
  background: #3a9447;
}
#work .solution ::-moz-selection {
  color: #3a9447;
  background: #fff;
}
#work .solution ::selection {
  color: #3a9447;
  background: #fff;
}
#work .solution__wrapper {
  position: relative;
  padding-top: max(13rem, 80px);
  padding-bottom: max(13rem, 80px);
  margin-bottom: max(8rem, 50px);
}
#work .solution__wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: max(38rem, 240px);
  height: max(8rem, 50px);
  background: #3a9447;
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
          clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 2;
}
#work .solution__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: max(10rem, 40px) max(3.5rem, 15px);
}
@media screen and (max-width: 1000px) {
  #work .solution__list {
    grid-template-columns: 1fr;
  }
}
#work .solution__list__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: max(3rem, 20px);
}
@media screen and (max-width: 1000px) {
  #work .solution__list__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
#work .solution__list__item__header {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  text-align: center;
  width: auto;
  gap: max(1rem, 10px);
  padding: max(6rem, 30px) 5%;
  border-radius: max(3rem, 20px);
  background: #fff;
  overflow: hidden;
}
@media screen and (max-width: 1000px) {
  #work .solution__list__item__header {
    min-width: 207px;
  }
}
#work .solution__list__item__header h4 {
  color: #3a9447;
  font-size: max(2.5rem, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
#work .solution__list__item__header .imageBox {
  width: min(max(22rem, 150px), 80%);
  margin: 0 auto;
}
@media screen and (max-width: 1000px) {
  #work .solution__list__item__content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 235px;
  }
}
#work .solution__list__item__content p {
  color: #fff;
  font-size: max(1.4rem, 12px);
  font-weight: 600;
  line-height: 2.2;
  letter-spacing: 0.05em;
}
#work .department__wrapper {
  padding-top: max(11rem, 70px);
  padding-bottom: max(14rem, 80px);
}
#work .department__inner:not(:first-of-type) {
  padding-top: max(9.5rem, 60px);
}
#work .department__inner:not(:last-of-type) {
  padding-bottom: max(9.5rem, 50px);
}
#work .department__inner:nth-of-type(odd) {
  background: #fff;
}
#work .department__inner:nth-of-type(even) {
  background: #fcfce4;
}
#work .department__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: max(10rem, 40px) max(7rem, 30px);
}
@media screen and (max-width: 1000px) {
  #work .department__content {
    gap: 0;
  }
}
@media screen and (max-width: 1000px) {
  #work .department__content:nth-of-type(odd) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media screen and (max-width: 1000px) {
  #work .department__content:nth-of-type(even) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
#work .department__content .textBox {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media screen and (max-width: 1000px) {
  #work .department__content .textBox {
    display: contents;
  }
}
#work .department__content .textBox__name {
  position: relative;
  padding: max(3rem, 20px);
  background: rgba(58, 148, 71, 0.05);
  margin-bottom: max(3.5rem, 30px);
  border-top: max(0.2rem, 2px) dotted rgba(58, 148, 71, 0.6);
  border-bottom: max(0.2rem, 2px) dotted rgba(58, 148, 71, 0.6);
}
@media screen and (max-width: 1000px) {
  #work .department__content .textBox__name {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}
#work .department__content .textBox__name h3 {
  color: #3a9447;
  font-size: max(2rem, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-right: 25%;
}
#work .department__content .textBox__name--icon {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  right: 5%;
  bottom: 0;
  width: auto;
  height: 135%;
  overflow: hidden;
}
#work .department__content .textBox__name--icon img {
  width: auto;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transition: -webkit-transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), -webkit-transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#work .department__content .textBox__name.active .textBox__name--icon img {
  -webkit-transform: translateY(10%);
          transform: translateY(10%);
}
#work .department__content .textBox > p {
  font-size: max(1.6rem, 14px);
  font-weight: 500;
  line-height: 3;
  letter-spacing: 0.05em;
  padding-bottom: max(6rem, 30px);
}
@media screen and (max-width: 1000px) {
  #work .department__content .textBox > p {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    padding-top: max(10rem, 25px);
  }
}
#work .department__content .textBox .btnBox {
  text-align: right;
  margin-top: auto;
}
@media screen and (max-width: 1000px) {
  #work .department__content .textBox .btnBox {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
}
#work .department__content .imageBox {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: max(67.5rem, 400px);
  height: auto;
  aspect-ratio: 45/29;
  overflow: hidden;
}
@media screen and (max-width: 1000px) {
  #work .department__content .imageBox {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    width: 100%;
    aspect-ratio: 16/9;
  }
}
#work .department__content .imageBox img {
  width: 100%;
  height: 100%;
}/*# sourceMappingURL=work.css.map */