@charset "utf-8";
/* *************************************
hamburger
************************************* */
.hamburger {
  width: fit-content;
  text-align: center;
}

@media (any-hover: hover) {
  .hamburger:hover {
    cursor: pointer;
  }
}

.hamburger__btn {
  padding: calc(8 * var(--rem));
}

.hamburger__btn span {
  display: block;
  width: calc(32 * var(--rem));
  height: calc(2 * var(--rem));
  background-color: var(--black);
  transition: 0.3s ease;
}

.hamburger__btn span:nth-child(2) {
  margin: calc(8 * var(--rem)) 0;
}

/* is-open */
.hamburger.is-open .hamburger__btn span:nth-child(1) {
  transform: translateY(calc(10 * var(--rem))) rotate(45deg);
}
.hamburger.is-open .hamburger__btn span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__btn span:nth-child(3) {
  transform: translateY(calc(-10 * var(--rem))) rotate(-45deg);
}

.hamburger__menu,
.hamburger__close {
  text-transform: uppercase;
  font-size: calc(12 * var(--rem));
  font-weight: bold;
  font-family: var(--jp);
  line-height: 1;
}

.hamburger.is-open .hamburger__menu {
  display: none;
}

.hamburger__close {
  display: none;
}

.hamburger.is-open .hamburger__close {
  display: block;
}

/* *************************************
btn1
************************************* */
.btn1 {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--rem));
  background-color: var(--green);
  min-width: calc(374 * var(--rem));
  border-radius: 30px;
  color: var(--white);
  padding-block: calc(18 * var(--rem));
  padding-inline: calc(30 * var(--rem)) calc(17 * var(--rem));
  font-size: calc(22 * var(--rem));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  @media (width < 768px) {
    min-width: calc(300 * var(--rem));
    font-size: calc(18 * var(--rem));
    padding-inline: calc(24 * var(--rem));
  }
}

.btn1::after {
  content: '';
  display: block;
  width: calc(30 * var(--rem));
  aspect-ratio: 1;
  background: url(../../library/images/common/btn-arrow1.svg) no-repeat center / contain;
  margin-inline-start: auto;
  @media (width < 768px) {
    width: calc(20 * var(--rem));
  }
}

.btn1[data-modi='white'] {
  background-color: var(--white);
  color: var(--green);
}

.btn1[data-modi='white']::after {
  background: url(../../library/images/common/btn-arrow2.svg) no-repeat center / contain;
}

/* *************************************
btn2
************************************* */
.btn2 {
  display: inline-block;
  /* width: calc(155 * var(--rem)); */
  min-height: calc(54 * var(--rem));
  border: 1px solid var(--border);
  border-radius: calc(10 * var(--rem));
  padding: calc(8 * var(--rem)) calc(10 * var(--rem));
  font-weight: 500;
  line-height: 1.1;
  display: grid;
  place-content: center;
  @media (width < 768px) {
    width: calc(220 * var(--rem));
    padding-block: calc(20 * var(--rem));
  }
}

.btn2[data-modi='green'] {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* *************************************
title1
************************************* */
.title1 {
  font-size: calc(55 * var(--rem));
  font-weight: 400;
  text-transform: capitalize;
  color: var(--green);
  @media (width < 768px) {
    display: grid;
    grid-template-columns: 1fr;
    font-size: calc(40 * var(--rem));
  }
}

.title1 span {
  font-size: calc(34 * var(--rem));
  margin-inline-start: calc(15 * var(--rem));
  @media (width < 768px) {
    margin-inline-start: 0;
    font-size: calc(26 * var(--rem));
  }
}

/* *************************************
title2
************************************* */
.title2 {
  font-size: calc(55 * var(--rem));
  font-weight: 400;
  text-transform: capitalize;
  color: var(--green);
  position: relative;
  display: inline-block;
  @media (width < 768px) {
    font-size: calc(36 * var(--rem));
  }
}

.title2::before {
  content: '';
  display: block;
  width: calc(80 * var(--rem));
  height: 3px;
  background-color: var(--green);
  position: absolute;
  top: 0;
  left: 0;
  @media (width < 768px) {
    height: 2px;
    width: calc(60 * var(--rem));
  }
}

.title2[data-modi='center'] {
  text-align: center;
}

.title2[data-modi='center']::before {
  left: 50%;
  transform: translate(-50%, 0%);
}

.title2[data-modi='center-bottom'] {
  text-align: center;
}

.title2[data-modi='center-bottom']::before {
  top: 110%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title2[data-color='white'] {
  color: var(--white);
}

.title2[data-color='white']::before {
  background-color: var(--white);
}

.title2 span {
  @media (width < 768px) {
    display: none;
  }
}

/* *************************************
title3
************************************* */
.title3 {
  font-size: calc(55 * var(--rem));
  font-weight: 400;
  text-transform: capitalize;
  color: var(--green);
  display: inline-block;
  position: relative;
  padding-inline-start: calc(20 * var(--rem));
  @media (width < 768px) {
    font-size: calc(36 * var(--rem));
    padding-inline-start: calc(18 * var(--rem));
  }
}

.title3::before {
  content: '';
  display: block;
  width: calc(70 * var(--rem));
  height: 3px;
  background-color: var(--green);
  rotate: -45deg;
  position: absolute;
  top: calc(18 * var(--rem));
  left: calc(-13 * var(--rem));
  transform: translate(-50%, 0%);
  @media (width < 768px) {
    height: 2px;
    width: calc(50 * var(--rem));
    top: calc(10 * var(--rem));
  }
}

/* *************************************
title4
************************************* */
.title4 {
}

.title4__wrap {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: calc(24 * var(--rem));
}

.title4__wrap span {
  width: calc(20 * var(--rem));
  aspect-ratio: 1;
  border: 2px solid var(--green);
  background-color: var(--green);
  @media (width < 768px) {
    width: calc(12 * var(--rem));
  }
}

.title4-main {
  font-size: calc(55 * var(--rem));
  font-weight: 400;
  color: var(--green);
  @media (width < 768px) {
    font-size: calc(36 * var(--rem));
  }
}

/* *************************************
card1
************************************* */
.card1 {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: calc(15 * var(--rem)) calc(20 * var(--rem));
}

.card1__time {
  line-height: 1;
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  color: var(--green);
}

.card1__title {
  margin-block-start: calc(4 * var(--rem));
  color: var(--green);
}

.card1__text {
  margin-block-start: calc(10 * var(--rem));
}

/* *************************************
link
************************************* */
.link {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: calc(2 * var(--rem));
  line-height: 1;
  font-weight: 500;
  padding-block: calc(16 * var(--rem));
  padding-inline: calc(16 * var(--rem)) 0;
}

.link::after {
  content: '';
  display: block;
  width: 0.9lh;
  aspect-ratio: 1;
  background: url(../../library/images/common/btn-arrow2.svg) no-repeat center / contain;
  margin-inline-start: auto;
  margin-block-start: calc(2 * var(--rem));
}

/* *************************************
lions-mate
************************************* */
.lions-mate {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: calc(10 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.lions-mate__img {
  width: calc(140 * var(--rem));
}

.lions-mate__img img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lions-mate__title {
  font-size: calc(28 * var(--rem));
  text-transform: capitalize;
  font-family: var(--noto-serif);
  color: var(--white);
  line-height: 1.2;
  @media (width < 768px) {
    text-align: center;
  }
}

.lions-mate__wrap p {
  font-family: var(--noto-sans);
  font-size: calc(14 * var(--rem));
  text-transform: uppercase;
  color: var(--white);
  @media (width < 768px) {
    text-align: center;
  }
}

/* *************************************
card1-list
************************************* */
.card1-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(15 * var(--rem));
  gap: calc(15 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.card1-list__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}

/* *************************************
card2
************************************* */
.card2 {
  display: block;
  background: linear-gradient(to right, #1a9b43, #76ce73);
  padding-block: calc(18 * var(--rem)) calc(30 * var(--rem));
  padding-inline: calc(24 * var(--rem));
  text-align: center;
  border-radius: 12px;
  position: relative;
  @media (width < 768px) {
    padding: calc(20 * var(--rem)) calc(20 * var(--rem)) calc(40 * var(--rem));
  }
}

.card2::after {
  content: '';
  display: block;
  width: calc(26 * var(--rem));
  aspect-ratio: 1;
  background: url(../../library/images/common/btn-arrow1.svg) no-repeat center / contain;
  position: absolute;
  right: 2%;
  bottom: 9%;
  @media (width < 768px) {
    width: calc(25 * var(--rem));
    right: 4%;
    bottom: 4%;
  }
}

.card2__title {
  font-size: calc(42 * var(--rem));
  color: var(--white);
  font-weight: 400;
  @media (width < 768px) {
    font-size: calc(30 * var(--rem));
  }
}

.card2__text {
  margin-block-start: calc(2 * var(--rem));
  color: var(--white);
}

/* *************************************
slider1
************************************* */
.slider1 {
  position: relative;
  overflow: clip;
}

.slider1::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: url(../../library/images/top/mv-filter.webp) no-repeat center / contain;
  z-index: 5;
  @media (width < 768px) {
    aspect-ratio: 3/4;
    background-size: cover;
  }
}

.swiper-slide {
  @media (width < 768px) {
    max-height: calc(500 * var(--rem));
  }
}

.swiper-slide img {
  aspect-ratio: 1440 /600;
  width: 100%;
  height: 100%;
  object-fit: cover;
  @media (width < 768px) {
    aspect-ratio: 3/4;
    object-position: 72% 50%;
    max-height: inherit;
  }
}

.slider1__text-block {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  left: 8%;
  z-index: 10;
  @media (width < 768px) {
    display: flex;
    flex-direction: column;
    top: 18%;
    padding-block-end: calc(24 * var(--rem));
  }
}

.slider1__text-block-title {
  margin-block-start: calc(16 * var(--rem));
  font-size: calc(96 * var(--rem));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.11em;
  color: var(--green);
  @media (width < 768px) {
    font-size: calc(40 * var(--rem));
    margin-block-start: 0;
  }
}

.slider1__text-block-title span {
  margin-inline-start: calc(-50 * var(--rem));
  @media (width < 768px) {
    margin-inline-start: calc(-17 * var(--rem));
  }
}

.slider1__text-block-text {
  font-size: calc(35 * var(--rem));
  margin-block-start: calc(8 * var(--rem));
  color: var(--green);
  @media (width < 768px) {
    font-size: calc(20 * var(--rem));
  }
}

.slider1__text-block-text span {
  margin-inline-start: calc(-20 * var(--rem));
  @media (width < 768px) {
    margin-inline-start: calc(-15 * var(--rem));
  }
}

/* *************************************
page-top
************************************* */
.page-top {
  position: relative;
  margin-block-start: calc(90 * var(--rem));
  @media (width < 768px) {
    margin-block-start: calc(80 * var(--rem));
    max-height: calc(300 * var(--rem));
    overflow: clip;
  }
}

.page-top::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background-color: var(--green-tra);
}

.page-top__img::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background-color: var(--green-tra);
}

.page-top__img img {
  aspect-ratio: 1440/250;
  width: 100%;
  height: 100%;
  object-fit: cover;
  @media (width < 768px) {
    aspect-ratio: 3/2;
  }
}

.page-top__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: grid;
  place-content: center;
  padding-inline: calc(20 * var(--rem));
}

.page-top__title-jp,
.page-top__title-en {
  width: fit-content;
  background-color: var(--white);
  line-height: 1;
  font-weight: 500;
  color: var(--green);
  border-radius: 4px;
}

.page-top__title-jp {
  padding: calc(16 * var(--rem)) calc(24 * var(--rem));
  font-size: calc(55 * var(--rem));
  @media (width < 768px) {
    font-size: calc(30 * var(--rem));
    padding-inline: calc(16 * var(--rem));
  }
}

.page-top__title-en {
  padding: calc(5 * var(--rem)) calc(12 * var(--rem));
  margin-block-start: calc(8 * var(--rem));
  text-transform: capitalize;
}

/* *************************************
post-list
************************************* */
.post-list {
}

.post-list__item a {
  display: grid;
  grid-template-columns: auto auto 1fr 0.3fr;
  align-items: self-start;
  gap: calc(16 * var(--rem));
  padding-block: calc(24 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: auto 1fr;
  }
}

.post-list__item:not(:last-child) a {
  border-bottom: 1px solid var(--gray);
}

.post-list__time {
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  line-height: 1;
  margin-block-start: calc(4 * var(--rem));
}

.post-list__tag {
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  background-color: var(--green);
  padding: calc(6 * var(--rem)) calc(10 * var(--rem));
  text-align: center;
  width: calc(100 * var(--rem));
  border-radius: 4px;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
    width: calc(90 * var(--rem));
  }
}

.post-list__title {
  font-weight: 500;
  @media (width < 768px) {
    grid-column: span 2;
  }
}

.post-list__img {
  @media (width < 768px) {
    grid-column: span 2;
    margin-inline: auto;
  }
}

.post-list__img img {
  aspect-ratio: 3 /2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* *************************************
cat-list
************************************* */
.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: calc(14 * var(--rem));
  justify-content: center;
}

.cat-list__item {
}

.cat-list__item a {
  display: inline-block;
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  background-color: var(--white);
  padding: calc(6 * var(--rem)) calc(10 * var(--rem));
  text-align: center;
  border-radius: 4px;
  border: 1px solid var(--green);
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
  }
}

@media (any-hover: hover) {
  .cat-list__item a:hover {
    background-color: var(--green);
    color: var(--white);
    opacity: 1;
  }
}

.cat-list__item a.current {
  background-color: var(--green);
  color: var(--white);
}

/* *************************************
pagination
************************************* */
.pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: calc(16 * var(--rem));
  justify-content: center;
  @media (width < 768px) {
    gap: calc(10 * var(--rem));
  }
}

.page-numbers li {
  display: grid;
  place-content: center;
}

.page-numbers li a,
.page-numbers li span {
  border: 1px solid var(--green);
  padding: calc(10 * var(--rem)) calc(16 * var(--rem));
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
    padding-inline: calc(10 * var(--rem));
  }
}

.page-numbers li span.current {
  background-color: var(--green);
  color: var(--white);
}

/* *************************************
table1
************************************* */
.table1 {
  background-color: var(--white);
}

.table1__item {
  display: grid;
  grid-template-columns: calc(150 * var(--rem)) 1fr;
  @media (width < 768px) {
    grid-template-columns: calc(90 * var(--rem)) 1fr;
  }
}

.table1__item dt {
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  text-align: center;
  padding: calc(16 * var(--rem)) calc(20 * var(--rem));
  border-bottom: 2px dotted var(--green);
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
    padding-inline: calc(10 * var(--rem));
  }
}

.table1__item dd {
  font-size: calc(18 * var(--rem));
  font-weight: 500;
  padding: calc(16 * var(--rem)) calc(20 * var(--rem));
  border-bottom: 2px dotted #eee;
  @media (width < 768px) {
    font-size: calc(16 * var(--rem));
    padding-inline: calc(10 * var(--rem));
  }
}

/* *************************************
table2
************************************* */
.table2 {
  border: 1px solid #eee;
  background-color: var(--white);
  @media (width < 768px) {
    width: calc(700 * var(--rem));
  }
}

.table2__item {
  display: grid;
  grid-template-columns: 0.3fr 0.3fr 1fr 2fr 4fr;
  border-bottom: 1px solid #eee;
  @media (width < 768px) {
    grid-template-columns: 0.5fr 0.5fr 1fr 2fr 3fr;
  }
}

.table2__item:last-child {
  border-bottom: none;
}

.table2__item dt {
  border-left: 1px solid #eee;
  padding: calc(10 * var(--rem));
  text-align: center;
}

.table2__item dd {
  padding: calc(10 * var(--rem));
  text-align: center;
}

.table2__item dd:not(:first-child) {
  border-left: 1px solid #eee;
}

.table2__item dd:last-child {
  text-align: left;
}

.table2__item:first-child dt,
.table2__item:first-child dd {
  text-align: center;
}

.table2__item:first-child > * {
  background-color: #9edc9c;
}

.table2[data-modi='4col'] .table2__item {
  grid-template-columns: 0.3fr 0.3fr 2fr 4fr;
}

.table2[data-modi='3col'] .table2__item {
  grid-template-columns: 0.5fr 1fr 1fr;
}

.table2[data-modi='3col'] .table2__item {
  dt,
  dd {
    text-align: center;
  }
}

/* *************************************
text-block1
************************************* */
.text-block1 {
  border: 2px solid var(--green);
  padding: calc(72 * var(--rem)) calc(40 * var(--rem)) calc(40 * var(--rem));
  border-radius: 16px;
  position: relative;
  @media (width < 768px) {
    padding: calc(56 * var(--rem)) calc(20 * var(--rem)) calc(20 * var(--rem));
  }
}

.text-block1:has(.text-block1__img) {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: calc(24 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.text-block1__title {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: calc(8 * var(--rem));
  line-height: 1;
  background-color: var(--green);
  padding: calc(16 * var(--rem)) calc(24 * var(--rem));
  border-radius: 100vmax;
  font-size: calc(26 * var(--rem));
  color: var(--white);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  @media (width < 768px) {
    font-size: calc(18 * var(--rem));
    width: 90%;
    line-height: 1.2;
    padding-block: calc(12 * var(--rem));
  }
}

.text-block1__title::before {
  content: '';
  display: block;
  width: 2lh;
  aspect-ratio: 1;
  background: url(../../library/images/eye-donation/heart.svg) no-repeat center / 80%;
  background-color: var(--white);
  border-radius: 100vmax;
  padding: calc(16 * var(--rem));
}

.text-block1__text {
  font-size: calc(18 * var(--rem));
  line-height: 1.8;
}

.text-block1[date-modi='cornea'] .text-block1__title::before {
  background: url(../../library/images/eye-donation/cornea.svg) no-repeat center / 80%;
  background-color: var(--white);
}

.text-block1[date-modi='provided'] .text-block1__title::before {
  background: url(../../library/images/eye-donation/provided.svg) no-repeat center / 80%;
  background-color: var(--white);
}

.text-block1__img img {
  aspect-ratio: 640/435;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* *************************************
text-block2
************************************* */
.text-block2 {
  border: 2px solid var(--border);
  padding: calc(40 * var(--rem));
  border-radius: 16px;
  font-size: calc(18 * var(--rem));
  line-height: 1.8;
  background-color: var(--white);
  position: relative;
  @media (width < 768px) {
    padding: calc(20 * var(--rem));
  }
}

.text-block2::before,
.text-block2::after {
  content: '';
  display: block;
  width: calc(80 * var(--rem));
  height: 2px;
  background-color: var(--green);
  position: absolute;
  rotate: -45deg;
}

.text-block2::before {
  top: calc(12 * var(--rem));
  left: calc(-30 * var(--rem));
}

.text-block2::after {
  bottom: calc(12 * var(--rem));
  right: calc(-30 * var(--rem));
}

/* *************************************
text-block3
************************************* */
.text-block3 {
  font-size: calc(18 * var(--rem));
  line-height: 1.8;
  background-color: var(--gray);
  padding: calc(40 * var(--rem));
  border-left: 8px solid var(--green);
  @media (width < 768px) {
    padding: calc(20 * var(--rem));
    font-size: calc(16 * var(--rem));
    border-width: calc(4 * var(--rem));
  }
}

/* *************************************
faq-list
************************************* */
.faq-list {
  display: grid;
  gap: calc(40 * var(--rem));
}

.faq-list__item {
  border-radius: 4px;
  box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 0.2);
  overflow: clip;
}

.faq-list__item dt {
  background-color: var(--green);
  padding: calc(20 * var(--rem));
  font-size: calc(22 * var(--rem));
  color: var(--white);
  font-weight: 500;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: calc(16 * var(--rem));
  align-items: center;
  line-height: 1;
  @media (width < 768px) {
    line-height: 1.3;
    font-size: calc(20 * var(--rem));
    padding: calc(16 * var(--rem));
    align-items: self-start;
    gap: calc(8 * var(--rem));
  }
}

.faq-list__item dt::before {
  content: 'q.';
  font-size: 1.8lh;
  font-weight: inherit;
  color: inherit;
  text-transform: uppercase;
  line-height: 1;
  @media (width < 768px) {
    font-size: 1.4lh;
  }
}

.faq-list__item dd {
  padding: calc(20 * var(--rem));
  font-size: calc(20 * var(--rem));
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: self-start;
  gap: calc(16 * var(--rem));
  line-height: 1;
  background-color: var(--white);
  @media (width < 768px) {
    line-height: 1.3;
    font-size: calc(18 * var(--rem));
    padding: calc(16 * var(--rem));
    gap: calc(8 * var(--rem));
  }
}

.faq-list__item dd::before {
  content: 'a.';
  font-size: 1.8lh;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  line-height: 1;
  @media (width < 768px) {
    font-size: 1.4lh;
  }
}

/* *************************************
flow-list
************************************* */
.flow-list {
  display: grid;
  gap: calc(64 * var(--rem));
}

.flow-list__item {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: calc(40 * var(--rem)) calc(80 * var(--rem));
  display: grid;
  grid-template-columns: auto 0.3fr 1fr;
  font-weight: 500;
  align-items: center;
  gap: calc(38 * var(--rem));
  line-height: 1;
  counter-increment: num;
  position: relative;
  @media (width < 768px) {
    grid-template-columns: 1fr;
    padding-inline: calc(20 * var(--rem));
    gap: calc(24 * var(--rem));
  }
}

.flow-list__item:not(:last-child)::before {
  content: '';
  display: block;
  width: calc(80 * var(--rem));
  aspect-ratio: 1;
  background-color: var(--green);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, calc(2 * var(--rem)));
  clip-path: polygon(100% 0, 0 0, 50% 60%);
}

.flow-list__step {
  font-size: calc(30 * var(--rem));
  text-transform: uppercase;
  display: grid;
  grid-template-rows: auto 1fr;
  @media (width < 768px) {
    text-align: center;
  }
}

.flow-list__step::after {
  content: counter(num, decimal-leading);
  text-align: center;
  font-size: calc(50 * var(--rem));
  @media (width < 768px) {
    font-size: calc(40 * var(--rem));
  }
}

.flow-list__img {
  position: relative;
  padding-inline-start: calc(20 * var(--rem));
  @media (width < 768px) {
    padding-inline-start: 0;
    padding-block-start: calc(40 * var(--rem));
  }
}

.flow-list__img::before {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--border);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  @media (width < 768px) {
    width: 80%;
    height: 1px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
  }
}

.flow-list__img {
  @media (width < 768px) {
    width: 80%;
    margin-inline: auto;
  }
}

.flow-list__img img {
  aspect-ratio: 3 /2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-list_text {
  font-size: calc(20 * var(--rem));
  line-height: 1.8;
  @media (width < 768px) {
    font-size: calc(18 * var(--rem));
  }
}
