@charset "UTF-8";
/*----------------------------------------------------
メインビジュアル
----------------------------------------------------*/
#mv {
  position: relative;
  z-index: 1;
  background-color: #f5ece5;
}
#mv::before {
  position: absolute;
  content: "";
  background-image: url(../images/top/mv/wave_blue_sp.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 9%;
  left: 0;
  aspect-ratio: 375/186;
  width: 100%;
  z-index: -1;
}
@media all and (min-width: 751px) {
  #mv::before {
    background-image: url(../images/top/mv/wave_blue_pc.svg);
    top: 0;
    left: unset;
    right: 0;
    aspect-ratio: 1256/269;
    width: 66%;
    z-index: 1;
  }
}
@media all and (min-width: 751px) and (max-width: 1500px) {
  #mv::before {
    width: 70%;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #mv::before {
    width: 74%;
  }
}
#mv::after {
  position: absolute;
  content: "";
  background-image: url(../images/top/mv/wave_pink_sp.svg);
  background-size: contain;
  background-repeat: no-repeat;
  bottom: -1px;
  left: 0;
  aspect-ratio: 375/192;
  width: 100%;
  z-index: 1;
}
@media all and (min-width: 751px) {
  #mv::after {
    background-image: url(../images/top/mv/wave_pink_pc.svg);
    aspect-ratio: 192/17;
  }
}
#mv .copy {
  position: absolute;
  z-index: 2;
  width: 62.6%;
  top: 12%;
  right: 5.6%;
  -webkit-animation: fadeLeftAnime 1.2s forwards 0.6s;
          animation: fadeLeftAnime 1.2s forwards 0.6s;
  opacity: 0;
}
@media all and (min-width: 751px) {
  #mv .copy {
    width: 30.5%;
    top: 11%;
    right: 14%;
  }
}
@media all and (min-width: 751px) and (max-width: 1500px) {
  #mv .copy {
    top: 12%;
    right: 12%;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #mv .copy {
    top: 14%;
  }
}
#mv .policy {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 14.2%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
  color: #7d5a46;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-weight: bold;
  font-size: 4.8vw;
  -webkit-animation: fadeRightAnime 1.2s forwards 1s;
          animation: fadeRightAnime 1.2s forwards 1s;
  opacity: 0;
}
@media all and (min-width: 751px) {
  #mv .policy {
    left: 16%;
    bottom: 5.7%;
    gap: 9px;
    font-size: 1.8vw;
  }
}
@media all and (min-width: 751px) and (max-width: 1400px) {
  #mv .policy {
    left: 14%;
  }
}
#mv .policy span {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #fff;
  padding: 0.2em 0.5em 0.2em 1.2em;
}
@media all and (min-width: 751px) {
  #mv .policy span {
    padding: 0.2em 0.5em 0.2em 0.8em;
  }
}
#mv .image {
  padding-top: 52%;
}
@media all and (min-width: 751px) {
  #mv .image {
    padding-top: 84px;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #mv .image {
    padding-top: 70px;
  }
}

/*----------------------------------------------------
intro
----------------------------------------------------*/
#intro {
  overflow: hidden;
  background-color: #f5ece5;
  background-image: url(../images/top/intro/wave_top_sp.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top;
  padding-top: 50px;
}
@media all and (min-width: 751px) {
  #intro {
    background-image: url(../images/top/intro/wave_top_pc.svg), url(../images/top/intro/wave_bottom_pc.svg);
    background-position: top, bottom;
    padding: 100px 0;
  }
}
@media all and (min-width: 751px) {
  #intro .wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
  }
  #intro .wrap .image {
    width: min(620px, 48%);
  }
  #intro .wrap .texts {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
@media all and (max-width: 750px) {
  #intro .texts {
    background-image: url(../images/top/intro/wave_bottom_sp.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%) 50px;
  }
}
#intro .texts .text p {
  text-align: justify;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-weight: bold;
  font-size: 15px;
  line-height: 2;
}
@media all and (min-width: 751px) {
  #intro .texts .text p {
    font-size: 16px;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #intro .texts .text p {
    font-size: 13px;
  }
}
#intro .texts .text p:not(:last-child) {
  margin-bottom: 2.4em;
}
@media all and (min-width: 751px) {
  #intro .texts .text p:not(:last-child) {
    margin-bottom: 2em;
  }
}
#intro .texts .copy {
  width: min(240px, 72%);
  margin-top: 46px;
  margin-bottom: 40px;
}
@media all and (min-width: 751px) {
  #intro .texts .copy {
    width: min(320px, 60%);
  }
}
@media all and (max-width: 750px) {
  #intro .image {
    margin: 0 calc(50% - 50vw);
  }
}
@media all and (min-width: 751px) {
  #intro .image {
    margin-top: -110px;
  }
}
@media all and (min-width: 751px) {
  #intro .image img {
    border-radius: 20px;
  }
}

/*----------------------------------------------------
ブランドのご紹介
----------------------------------------------------*/
#brand {
  background-color: #e1eff4;
  padding: 100px 0 150px;
  position: relative;
}
#brand::before {
  position: absolute;
  content: "";
  background-image: url(../images/common/bgillust01.png);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 71/26;
  width: min(355px, 94.6%);
  bottom: 0;
  right: 2%;
}
@media all and (min-width: 751px) {
  #brand::before {
    width: min(408px, 21.25%);
    right: 16.7%;
  }
}
@media all and (min-width: 751px) and (max-width: 1400px) {
  #brand::before {
    right: 8%;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #brand::before {
    width: 260px;
  }
}
@media all and (min-width: 1921px) {
  #brand::before {
    right: 320px;
  }
}
@media all and (min-width: 751px) {
  #brand {
    padding: 100px 0;
  }
}
#brand .brand_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}
@media all and (min-width: 751px) {
  #brand .brand_list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
}
@media all and (min-width: 751px) and (max-width: 1200px) {
  #brand .brand_list {
    gap: 20px;
  }
}
#brand .brand_list .brand_item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  aspect-ratio: 10/3;
}
@media all and (min-width: 751px) {
  #brand .brand_list .brand_item {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
#brand .brand_list .brand_item::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  z-index: 1;
}
#brand .brand_list .brand_item a {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -ms-grid;
  display: grid;
  place-items: center;
  border-radius: 20px 20px 0 0;
  background-color: #fff;
  -webkit-filter: drop-shadow(0 0 30px rgba(54, 90, 100, 0.15));
          filter: drop-shadow(0 0 30px rgba(54, 90, 100, 0.15));
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
@media (hover: hover) {
  #brand .brand_list .brand_item a {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
  #brand .brand_list .brand_item a:hover {
    -webkit-transform: translateZ(0) translateY(-6px);
            transform: translateZ(0) translateY(-6px);
  }
}
#brand .brand_list .brand_item.veloce::before {
  background-color: #961e37;
}
#brand .brand_list .brand_item.veloce .logo {
  width: min(192px, 57.6%);
}
#brand .brand_list .brand_item.coffeekan::before {
  background-color: #004d25;
}
#brand .brand_list .brand_item.coffeekan .logo {
  width: min(190px, 57%);
}
#brand .brand_list .brand_item.crie::before {
  background-color: #FCA400;
}
#brand .brand_list .brand_item.crie .logo {
  width: min(270px, 81%);
}

/*----------------------------------------------------
先輩の声
----------------------------------------------------*/
#voice {
  --icon_size: 60px;
  padding: 37px 0 50px;
}
@media all and (min-width: 751px) {
  #voice {
    --icon_size: 80px;
    padding: 100px 0;
  }
}
#voice .splide_wrap {
  margin-top: 30px;
  margin-bottom: 40px;
}
@media all and (max-width: 750px) {
  #voice .splide_wrap {
    margin-inline: calc(50% - 50vw);
  }
}
@media all and (min-width: 751px) {
  #voice .splide_wrap {
    margin-top: 48px;
    margin-bottom: 50px;
  }
}
#voice .splide_wrap .splide__track {
  overflow: hidden;
}
@media all and (min-width: 751px) {
  #voice .splide_wrap .splide__track {
    padding-top: 10px;
  }
}
#voice .splide_wrap .splide__list .splide__slide a {
  display: block;
}
@media (min-width: 751px) and (hover: hover) {
  #voice .splide_wrap .splide__list .splide__slide a {
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
  }
  #voice .splide_wrap .splide__list .splide__slide a:hover {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
}
#voice .splide_wrap .splide__list .splide__slide a .image img {
  border-radius: 20px 20px 0 0;
}
#voice .splide_wrap .splide__list .splide__slide a .texts {
  position: relative;
  top: -1px;
  border-top: 6px solid var(--color);
  background-color: #f5ece5;
  padding: 30px 15px 14px;
}
#voice .splide_wrap .splide__list .splide__slide a .texts.veloce {
  --color: #961e37;
}
#voice .splide_wrap .splide__list .splide__slide a .texts.coffeekan {
  --color: #004d25;
}
#voice .splide_wrap .splide__list .splide__slide a .texts.crie {
  --color: #FCA400;
}
#voice .splide_wrap .splide__list .splide__slide a .texts.crie .copy p {
  color: #d88c00;
}
@media all and (min-width: 751px) {
  #voice .splide_wrap .splide__list .splide__slide a .texts {
    padding: 42px 14px 13px;
  }
}
#voice .splide_wrap .splide__list .splide__slide a .texts .copy {
  position: relative;
  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;
  gap: 50px;
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #voice .splide_wrap .splide__list .splide__slide a .texts .copy {
    gap: 40px;
  }
}
#voice .splide_wrap .splide__list .splide__slide a .texts .copy::before, #voice .splide_wrap .splide__list .splide__slide a .texts .copy::after {
  position: absolute;
  content: "";
  background-color: #7d5a46;
  width: 20px;
  height: 1px;
  top: 50%;
  left: 50%;
}
#voice .splide_wrap .splide__list .splide__slide a .texts .copy::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
#voice .splide_wrap .splide__list .splide__slide a .texts .copy::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
#voice .splide_wrap .splide__list .splide__slide a .texts .copy p {
  color: var(--color);
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-weight: 900;
  font-size: 20px;
}
@media all and (min-width: 751px) and (max-width: 1920px) and (min-width: 1201px) {
  #voice .splide_wrap .splide__list .splide__slide a .texts .copy p {
    font-size: 1.35vw;
  }
}
@media all and (min-width: 751px) and (max-width: 1920px) and (min-width: 1401px) {
  #voice .splide_wrap .splide__list .splide__slide a .texts .copy p {
    font-size: 1.1vw;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #voice .splide_wrap .splide__list .splide__slide a .texts .copy p {
    font-size: 15px;
  }
}
#voice .splide_wrap .splide__list .splide__slide a .texts .tx {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #fff;
  color: #7d5a46;
  margin-top: 30px;
  padding: 0.6em;
}
#voice .splide_wrap .splide__arrows {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  pointer-events: none;
}
@media all and (min-width: 751px) {
  #voice .splide_wrap .splide__arrows {
    top: calc(50% - 10px);
    width: 100%;
  }
}
#voice .splide_wrap .splide__arrows .splide__arrow {
  position: relative;
  display: -ms-grid;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  width: 46px;
  border: none;
  background-color: #7d5a46;
  border-radius: 50%;
  pointer-events: auto;
}
#voice .splide_wrap .splide__arrows .splide__arrow::after {
  position: absolute;
  content: "";
  background-image: url(../images/common/icon/arrow_white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 1;
  width: 15px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#voice .splide_wrap .splide__arrows .splide__arrow > svg {
  display: none;
}
#voice .splide_wrap .splide__arrows .splide__arrow--prev {
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
#voice .splide_wrap .splide__arrows .splide__arrow--prev::after {
  -webkit-transform: translate(-50%, -50%) rotate(180deg);
          transform: translate(-50%, -50%) rotate(180deg);
}
#voice .splide_wrap .splide__arrows .splide__arrow--next {
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
}
@media (hover: hover) {
  #voice .splide_wrap .splide__arrows .splide__arrow {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
  }
  #voice .splide_wrap .splide__arrows .splide__arrow:hover {
    background-color: #503729;
  }
}

/*----------------------------------------------------
働く環境について・働くまでの流れ
----------------------------------------------------*/
.work_section {
  background-color: #f5ece5;
  padding: 70px 0 150px;
  position: relative;
}
.work_section::before {
  position: absolute;
  content: "";
  background-image: url(../images/common/bgillust02.png);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 71/26;
  width: min(355px, 94.6%);
  bottom: 0;
  right: 2%;
}
@media all and (min-width: 751px) {
  .work_section::before {
    width: min(408px, 21.25%);
    right: 16.7%;
  }
}
@media all and (min-width: 751px) and (max-width: 1400px) {
  .work_section::before {
    right: 8%;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  .work_section::before {
    width: 260px;
  }
}
@media all and (min-width: 1921px) {
  .work_section::before {
    right: 320px;
  }
}
@media all and (min-width: 751px) {
  .work_section {
    padding: 100px 0;
  }
}
.work_section section:not(:last-child) {
  margin-bottom: 100px;
}
@media all and (max-width: 750px) {
  .work_section section .image {
    margin: 40px calc(50% - 50vw);
  }
}
@media all and (min-width: 751px) {
  .work_section section .wrap {
    display: -ms-grid;
    display: grid;
        grid-template-areas: "texts image" "btn image";
    -ms-grid-columns: 1fr 40px 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: auto 50px 1fr;
    grid-template-rows: auto 1fr;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
    row-gap: 50px;
  }
  .work_section section .wrap .texts {
    grid-area: texts;
  }
  .work_section section .wrap .image {
    grid-area: image;
  }
  .work_section section .wrap .btn {
    grid-area: btn;
    align-self: flex-start;
  }
}
@media all and (min-width: 751px){
  .work_section section .wrap .texts {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .work_section section .wrap .image {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 3;
  }
  .work_section section .wrap .btn {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
}
@media all and (min-width: 751px) and (min-width: 751px) {
  .work_section section:nth-child(even) .wrap {
        grid-template-areas: "image texts" "image btn";
  }
  .work_section section:nth-child(even) .wrap > .texts {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }
  .work_section section:nth-child(even) .wrap > .image {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 1;
  }
  .work_section section:nth-child(even) .wrap > .btn {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }
}
@media all and (min-width: 751px) {
  .work_section section .image img {
    border-radius: 20px;
  }
}
.work_section #work {
  --icon_size: 35px;
}
@media all and (min-width: 751px) {
  .work_section #work {
    --icon_size: 50px;
  }
}
.work_section #work .section_title span {
  -webkit-transform: translateY(0.3em);
          transform: translateY(0.3em);
}
@media all and (min-width: 751px) {
  .work_section #work .section_title span {
    -webkit-transform: translateY(0.4em);
            transform: translateY(0.4em);
  }
}
.work_section #schedule {
  --icon_size: 60px;
}
@media all and (min-width: 751px) {
  .work_section #schedule {
    --icon_size: 80px;
  }
}

/*----------------------------------------------------
foot_area
----------------------------------------------------*/
#foot_area {
  padding: 40px 0;
}
@media all and (min-width: 751px) {
  #foot_area {
    padding: 80px 0;
  }
}
#foot_area .link_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media all and (min-width: 751px) {
  #foot_area .link_list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 40px;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #foot_area .link_list {
    gap: 20px;
  }
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item {
    width: min(400px, 40%);
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #foot_area .link_list .link_item {
    width: 46%;
  }
}
#foot_area .link_list .link_item a {
  position: relative;
  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: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
  border-radius: 20px 20px 0 0;
  background: -webkit-gradient(linear, left top, right top, color-stop(0, #b28463), to(#d9b097));
  background: linear-gradient(90deg, #b28463 0, #d9b097 100%);
  padding: 30px 10px 70px;
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item a {
    padding: 40px 20px 86px;
  }
}
#foot_area .link_list .link_item a::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  background-color: #503729;
  width: 100%;
  height: 50px;
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item a::before {
    height: 60px;
  }
}
#foot_area .link_list .link_item a::after {
  position: absolute;
  content: "";
  background-image: url(../images/common/icon/arrow_white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 1;
  width: 15px;
  bottom: 25px;
  left: 50%;
  -webkit-transform: translate(-50%, 50%);
          transform: translate(-50%, 50%);
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item a::after {
    width: 17px;
    bottom: 30px;
  }
}
#foot_area .link_list .link_item a .icon {
  width: 90px;
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item a .icon {
    width: 104px;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #foot_area .link_list .link_item a .icon {
    width: 80px;
  }
}
#foot_area .link_list .link_item a .icon.mug {
  margin-left: -7%;
  width: 89px;
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item a .icon.mug {
    width: 107px;
  }
}
@media screen and (min-width: 751px) and (max-width: 999px) {
  #foot_area .link_list .link_item a .icon.mug {
    width: 80px;
  }
}
#foot_area .link_list .link_item a .title {
  color: #fff;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: 16px;
}
@media all and (min-width: 751px) {
  #foot_area .link_list .link_item a .title {
    font-size: 18px;
  }
}
@media (hover: hover) {
  #foot_area .link_list .link_item a::after {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
  #foot_area .link_list .link_item a:hover::after {
    left: 52%;
  }
  #foot_area .link_list .link_item a:hover .icon img {
    -webkit-animation: sway 4s ease-in-out infinite;
            animation: sway 4s ease-in-out infinite;
  }
}