@charset "UTF-8";

a#flow+div .wrapper_item {
    flex-direction: row;
    justify-content: space-between;
    overflow: visible;
    margin-top: 6rem;
}
a#flow+div .wrapper_item .inner_item {
    width: calc(100% / 6 - 20px);
    margin: 0 !important;
    position: relative;
    padding: 0;
}
a#flow+div .wrapper_item .inner_item:after {
    content: "";
    display: block;
    border: none;
    width: 10px !important;
    height: 10px;
    border-bottom: 3px solid var(--i_main_color, rgba(125, 125, 125, 0.5));
    border-right: 3px solid var(--i_main_color, rgba(125, 125, 125, 0.5));
    margin: 0 auto;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: -22px;
}
a#flow+div .wrapper_item .inner_item::before {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    background: var(--i_main_color);
    border: 3px solid #fff;
}
a#flow+div .wrapper_item .inner_item .heading.block_header_4 {
    background: var(--i_main_color);
    padding: 20px 15px 10px;
    margin-bottom: 0;
}
a#flow+div .wrapper_item .inner_item .heading.block_header_4 .h {
    color: #fff;
    letter-spacing: 0 !important;
    font-size: 2rem !important;
}
a#flow+div .wrapper_item .inner_item a {
    padding: 20px;
}
a#flow+div .inner_item_txt {
    display: none;
}
a#flow+div .wrapper_item .inner_item img {
    height: 150px !important;
    width: 150px !important;
    object-fit: contain;
}
@media screen and (min-width: 769px) {
a#flow+div .wrapper_item .inner_item:nth-of-type(1)::after {
    display: none;
}
}
@media screen and (max-width: 1200px) and (min-width: 769px) {
a#flow+div .wrapper_item .inner_item:nth-of-type(4)::after {
    display: none;
}
}
@media screen and (max-width: 1200px) {
a#flow+div .wrapper_item .inner_item {
    width: calc(100% / 3 - 20px);
}
a#flow+div .wrapper_item .inner_item:nth-of-type(n+4) {
    margin-top: 60px !important;
}
a#flow+div .wrapper_item .inner_item:after {
    left: -25px;
}
}
@media screen and (max-width: 768px) {
a#flow+div .wrapper_item .inner_item:nth-of-type(n+2) {
    margin-top: 70px !important;
}
a#flow+div .wrapper_item .inner_item:after {
    left: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    top: auto;
    bottom: -28px;
}
a#flow+div .wrapper_item .inner_item::before {
    top: -30px;
}
a#flow+div .wrapper_item .inner_item:nth-of-type(6)::after {
    display: none;
}
a#flow+div .wrapper_item .inner_item img {
    height: 120px !important;
    width: 120px !important;
}
}

a#flow+div .heading+.add_text {
    text-align: left;
}

/*...............button style...............*/

/* ===== Base (PC): 3 columns, last row centered ===== */
.btn_combined .content_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;      /* centers the last row if it is not full */
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.btn_combined .content_wrapper a {
  box-sizing: border-box;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0 !important;
  max-width: 100% !important;
  width: calc((100% - 20px) / 3) !important;   /* 20px = 2 gaps of 10px */
}

/* ===== Mobile: 1 column, full width ===== */
@media screen and (max-width: 768px) {
  .btn_combined .content_wrapper {
    gap: 8px;
  }
  .btn_combined .content_wrapper a {
    width: calc((100% - 8px) / 2) !important;
  }
}


@media screen and (max-width: 515px) {
  .btn_combined .content_wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;       /* every button fills the full width */
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;         /* small side margin, set to 0 for edge to edge */
    padding-right: 15px;
  }

  .btn_combined .content_wrapper a {
    width: 100% !important;
    max-width: 100% !important;
  }
}