@charset "UTF-8";

/* =========================
  Flow Section
========================= */

.flow{
    position: relative;
    background: #ffffff;
    padding: 145px 0 120px;
    background-image: url(../img/static-bg.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
}

.flow__container{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- タイトル ---------- */

.flow__title{
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.1;
    font-weight: 500;
}

.flow__lead{
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    margin-top: 80px;
}

/* ---------- ナビ ---------- */

.flow__nav{
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 80px;
}

.flow__nav-btn{
    width: 250px;
    height: 56px;
    border: 1px solid rgba(56,80,107,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    background: #fff;
    position: relative;
    font-family: "zen old mincho", Sans-serif;
}

.flow__nav-btn span{
  font-family: var(--font-sans);
}

.flow__nav-btn::after{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(56,80,107,0.8);
  border-bottom: 2px solid rgba(56,80,107,0.8);
  transform: rotate(45deg);
  position: absolute;
  right: 18px;
  top: 50%;
  margin-top: -5px;
}

/* ---------- レイアウト ---------- */

.flow__body{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  overflow: visible;
  margin-top: 120px;
}

/* 左 sticky */

.flow__sticky{
  width: 570px;
  padding: 36px 0 0;
  flex: 0 0 570px;
  position: relative;
  z-index: 1;
  align-self: stretch;
}

.flow__sticky-inner{
  position: sticky;
  top: 190px;
  aspect-ratio: 570/400;
  height: auto;
  min-height: auto;
  width: 100%;
}

.flow__sticky-img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 400ms ease;
}

/* フェード切替 */
.flow__body[data-active="1"] .flow__sticky-img.is-01{ opacity: 1; }
.flow__body[data-active="2"] .flow__sticky-img.is-02{ opacity: 1; }
.flow__body[data-active="3"] .flow__sticky-img.is-03{ opacity: 1; }

/* 右カラム */

.flow__contents{
  width: calc(100% - 610px);
  padding-top: 10px;
  position: relative;
  z-index: 2; /* stickyより上に */
}

.flow__item{
  padding: 80px 0 100px;
}

.flow__divider{
  border: none;
  border-top: 1px solid rgba(18,18,18,0.15);
  margin: 0 0 26px;
}

/* ---------- 見出し ---------- */

.flow__head{

}

.flow__phase{
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  margin: 0;
}

.flow__phase-jp{
  font-family: var(--font-sans);
}

.flow__phase-sep{
    margin: 0;
    color: #C5C5C5;
}

/* ---------- Point ---------- */

.flow__points{
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.flow__point{
  margin: 0 0 20px;
}

.flow__point:last-child{
  margin-bottom: 0;
}

/* 1行目（● + Point + タイトル） */
.flow__point-head{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 12px;
  vertical-align: middle;
  width: fit-content;
}

/* 下線（固定長・デザイン準拠） */
.flow__point-head::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(28,139,126,0.3);
}

/* ● */
.flow__point-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1C8B7E;
  flex: 0 0 9px;
}

/* Point n */
.flow__point-label{
  font-size: 14px;
  font-weight: 600;
  color: #1C8B7E;
  white-space: nowrap;
  font-family: var(--font-serif);
}

/* タイトル */
.flow__point-title{
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    color: #3C6561;;
    letter-spacing: 0.01em;
    word-break: break-word;
}

/* 本文 */
.flow__point-text{
  font-size: 16px;
  line-height: 2;
  color: #333;
}

/* badge */
.flow__badge{
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 0px 8px 0px 8px;
    margin-left: 10px;
    background: #FF9500;
    color: #fff;
    border-radius: 4px;
    vertical-align: middle;
}

/* 左三角 */
.flow__badge::before{
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 6px solid #FF9500;
}

/* ---------- 注釈 ---------- */

.flow__note{
  background: #EEF2F1;
  padding: 20px;
  margin-top: 40px;
}

.flow__note p{
  font-size: 16px;
  line-height: 1.5;
  color: rgba(18,18,18,0.85);
}

/* ---------- SP画像 ---------- */

.flow__sp-img{
  display: none;
}

/* =========================
  Responsive
========================= */

@media screen and (max-width: 975px){

    .flow{
        padding: 60px 0 100px;
        background-size: 350%;
    }

    .flow__container{

    }

    .flow__title{
        font-size: 20px;
    }

    .flow__lead{
        font-size: 14px;
        margin-top: 40px;
    }

    .flow__nav{
        flex-direction: unset;
        flex-wrap: wrap;
        gap: 12px;
        margin: 40px auto 0;
        max-width: 250px;
    }

    .flow__nav-btn{
        width: 100%;
    }

    .flow__body{
        display: block;
        margin-top: 80px;
    }

    .flow__sticky{
        display: none;
    }

    .flow__contents{
        width: 100%;
        padding-top: 0;
    }

    .flow__points{
        margin-top: 20px;
    }

    .flow__head{
        margin-top: 40px;
    }

    .flow__sp-img{
        display: block;
    }

    .flow__phase{
        font-size: 26px;
    }

    .flow__point-title{
        font-size: 15px;
    }

    .flow__point-head {
        white-space: wrap;
    }

    .flow__point-text {
        font-size: 14px;
    }

    .flow__note {
        padding: 14px;
        margin-top: 24px;
    }

    .flow__note p {
        font-size: 14px;
    }

    .flow__item {
        padding: 40px 0;
    }
}

.flow__item:first-child{
    padding-top: 0;
}
.flow__item:last-child{
    padding-bottom: 0;
}