@charset "UTF-8";
.sec-flow {
  position: relative;
  width: 100%;
  padding: 92px 0 106px;
  background-color: #ffffff;
  background-image: url("../../assets/img/implant-treatment/bg-grid.webp");
  background-repeat: repeat;
  background-size: 10px 10px;
  font-feature-settings: normal;
  text-spacing-trim: space-all;
  text-autospace: no-autospace;
  line-break: strict;
}
.flow-inner {
  width: min(1136px, calc(100% - 80px));
  margin-inline: auto;
}
.flow-head { text-align: center; }
.flow-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--c-text);
}
.flow-rows { margin-top: 56px; }
.flow-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
}
.flow-row + .flow-row { margin-top: 44px; }
.flow-card {
  position: relative;
  display: flow-root;
  box-sizing: border-box;
  min-width: 0;
  min-height: 230px;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.flow-num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 92.13px;
  height: 88.33px;
  padding: 10.2px 35.12px 0 0;
  background: url("../../assets/img/implant-treatment/flow-num-triangle.svg") 0 0 / 100% 100% no-repeat;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
}
.flow-num-step {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-indent: 0.08em;
  color: #ffffff;
}
.flow-photo {
  display: block;
  width: 100%;
  aspect-ratio: 340 / 230;
  overflow: hidden;
  background-color: #f2f2f2;
}
.flow-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-body { padding: 28px 28px 32px; }
.flow-name {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #1e2939;
}
.flow-rule {
  display: block;
  height: 1px;
  margin-top: 13.87px;
  background-color: #dddddd;
}
.flow-text {
  margin: 15px 0 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  color: #4a5565;
}
.flow-arrow {
  position: absolute;
  top: 50%;
  left: calc(100% + 20px);
  width: 31.01px;
  height: 14.5px;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
  pointer-events: none;
}
.flow-row .flow-card:last-child .flow-arrow { display: none; }
.flow-more {
  margin: 56px 0 0;
  text-align: center;
}
.flow-more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #aaaaaa;
  transition: opacity .2s ease;
}
.flow-more-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--c-text);
}
.flow-more-arrow {
  display: block;
  width: 16.4545px;
  height: 10.875px;
  max-width: none;
  transform: rotate(90deg);
}
@media (hover: hover) {
  .flow-more-link:hover { opacity: .85; }
}
.flow-more-link:focus-visible {
  outline: 2px solid #244496;
  outline-offset: 2px;
}
@media (max-width: 1023px) {
  .flow-row { column-gap: 20px; }
  .flow-body { padding: 24px 18px 26px; }
  .flow-arrow { display: none; }
}
@media (max-width: 767px) {
  .sec-flow { padding: 55.18px 0 72.96px; }
  .flow-inner { width: calc(100% - 48px); }
  .flow-title { font-size: 32px; }
  .flow-rows { margin-top: 36px; }
  .flow-row { display: block; }
  .flow-row + .flow-row { margin-top: 46px; }
  .flow-card + .flow-card { margin-top: 46px; }
  .flow-card {
    box-shadow: none;
    border: 1px solid #dddddd;
    min-height: 0;
  }
  .flow-num {
    width: 77.89px;
    height: 74.68px;
    padding: 8.6px 29.49px 0 0;
    font-size: 22px;
  }
  .flow-num-step { margin-bottom: 1px; font-size: 8px; }
  .flow-body { padding: 24px 20px 24px; }
  .flow-name { font-size: 20px; }
  .flow-text { font-size: 15px; }
  .flow-arrow {
    display: block;
    top: calc(100% + 15px);
    left: 50%;
    width: 34.641px;
    height: 16.196px;
    transform: translateX(-50%) rotate(180deg);
  }
  .flow-row--a .flow-card:last-child .flow-arrow { display: block; }
  .flow-row--b .flow-card:last-child .flow-arrow { display: none; }
  .flow-more { margin-top: 44px; }
  .flow-more-label { font-size: 15px; }
}
@media (max-width: 359px) {
  .flow-body { padding: 20px 14px 22px; }
  .flow-name { font-size: 18px; }
}
@media (max-width:767px){.flow-title{font-size:30px}}
