/* ご来店から乗船まで */

.flow-content {
  padding-bottom: 96px;
  background-color: #f3f1eb;
  overflow-x: hidden;
}

.flow-hero {
  height: 48vh;
  margin-top: 76px;
  background: url(hero.jpg) center center / cover no-repeat;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 95, .32);
  }

  .inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .cont {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
  }

  .ttl-jp {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    color: #fff;
    letter-spacing: .08em;
    line-height: 1.5;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
  }

}

.flow-sec {
  padding: 72px 30px 0;
}

.flow-ttl {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: .04em;
}

.flow-steps {
  max-width: 1200px;
  margin: 0 auto 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;

  .item {
    width: 18.5%;
    position: relative;
    padding-top: 24px;
  }

  .num {
    font-size: 6.5rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #1e3a5f;
    opacity: .85;
    position: absolute;
    left: -.25em;
    top: 0;
    z-index: 2;
    text-shadow: 0 0 8px #f3f1eb;
  }

  .pct {
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 0;
    transform: skewY(-5deg);

    img {
      width: 100%;
      height: auto;
      display: block;
      transform: skewY(5deg) scale(1.1);
      transform-origin: center center;
    }
  }

  .exp {
    font-size: 16px;
    line-height: 1.65;
    font-weight: bold;
    letter-spacing: .02em;
    text-align: center;

    p {
      margin: 0;
    }
  }

}

.flow-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 104px;
  max-width: 920px;
  counter-reset: flow-step;

  li {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffffaf;
    padding: 24px 32px;
    margin-bottom: 48px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .04);
    position: relative;

    &:last-child {
      margin-bottom: 0;

      &::after {
        content: none;
      }
    }

    &::before {
      counter-increment: flow-step;
      content: counter(flow-step);
      font-family: 'Roboto', sans-serif;
      font-weight: bold;
      font-size: 26px;
      color: #fcffd8;
      background: linear-gradient(160deg, #4a6d9a 0%, #1e3a5f 100%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 1;
    }

    &::after {
      content: "";
      position: absolute;
      left: 56px;
      bottom: -28px;
      width: 8px;
      height: 8px;
      border-right: 2px solid #4a6d9a;
      border-bottom: 2px solid #4a6d9a;
      transform: translateX(-50%) rotate(45deg);
    }
  }

  .flow-detail-body {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    line-height: 1.9;
  }

  li:has(.flow-note) {
    align-items: flex-start;

    .flow-detail-body {
      padding-top: .35em;
    }
  }
}

.flow-note {
  margin: .8em 0;
  color: #1e3a5f;
  font-weight: bold;
}

.flow-parking {
  padding: 0 30px;
  max-width: 1060px;
  margin: 0 auto 64px;
}

.flow-parking-inner {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.flow-parking-body {
  flex: 1;
  min-width: 0;
}

.flow-parking-list {
  list-style: none;
  padding: 0 0 0 10px;
  margin: 0 0 28px;

  li {
    font-size: 17px;
    line-height: 1.85;
    padding: 0 0 1.1em 1.6em;
    position: relative;

    &:last-child {
      padding-bottom: 0;
    }

    &::before {
      content: "";
      width: 9px;
      height: 9px;
      background-color: #1e3a5f;
      border-radius: 50%;
      position: absolute;
      left: 0;
      top: .7em;
      transform: translateY(-50%);
      z-index: 1;
    }

    &::after {
      content: "";
      position: absolute;
      left: 4px;
      top: .7em;
      bottom: -.15em;
      width: 1px;
      background-color: rgba(30, 58, 95, .28);
    }

    &:last-child::after {
      content: none;
    }
  }
}

/* ※付き注意書き（padding-left + text-indent で吊り下げ） */
.note-kome {
  margin: 0;
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.8;
}

.flow-parking-note {
  font-size: 16px;
  color: #444;
  padding-top: 20px;
  border-top: 1px solid rgba(54, 55, 92, .15);

  .note-kome + .note-kome {
    margin-top: .65em;
  }
}

.flow-parking-pct {
  flex: 0 0 380px;
  margin: 0;
  line-height: 0;

  img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* tablet */
@media only screen and (max-width: 1100px) {

  .flow-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 32px;

    .item {
      width: 42%;
      max-width: 340px;
    }
  }

}

@media only screen and (max-width: 960px) {

  .flow-parking-inner {
    display: block;
  }

  .flow-parking-pct {
    width: 100%;
    max-width: 480px;
    margin: 32px auto 0;
  }

}

/* mobile */
@media only screen and (max-width: 768px) {

  .flow-content {
    padding-bottom: 72px;
  }

  .flow-hero {
    height: 34vh;
    min-height: 220px;
    margin-top: 0;

    .cont {
      padding: 0 16px;
    }

    .ttl-jp {
      font-size: 28px;
      letter-spacing: .06em;
    }
  }

  .flow-sec,
  .flow-parking {
    padding: 0 16px;
  }

  .flow-sec {
    padding-top: 48px;
  }

  .flow-ttl {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .flow-steps {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto 56px;

    .item {
      width: 75%;
      margin: 0 auto 40px;
      padding-top: 24px;

      &:last-child {
        margin-bottom: 0;
      }
    }

    .num {
      font-size: 8rem;
    }

    .pct {
      margin: 0 0 16px;
      transform: skewY(-4deg);

      img {
        transform: skewY(4deg) scale(1.08);
      }
    }
  }

  .flow-detail-list {
    margin-bottom: 80px;

    li {
      gap: 16px;
      padding: 20px 16px;
      margin-bottom: 40px;

      &::before {
        width: 40px;
        height: 40px;
        font-size: 20px;
      }

      &::after {
        left: 36px;
        bottom: -24px;
      }
    }

    .flow-detail-body {
      font-size: 16px;
    }
  }

  .flow-parking {
    margin: 0 auto 48px;
  }

  .flow-parking-list li {
    font-size: 16px;
  }

  .flow-parking-note {
    font-size: 16px;
    padding-top: 20px;
  }

}
