@charset "utf-8";

/* =====================================
   FLOW PAGE
===================================== */

/* =====================================
   HERO
   SERVICEページのHEROと同じ数値・構造
===================================== */
.flow-page-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  padding: 20px 6%;
  background: #fafafa;
  overflow: hidden;
}

.flow-hero-bg-text {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(52px, 9vw, 130px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  color: rgba(239, 151, 71, .08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.flow-hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 45px;
}

.flow-hero-title p {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: .12em;
  color: #222;
}


/* =====================================
   COMMON
===================================== */
.flow-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.flow-section-heading {
  margin-bottom: 52px;
  text-align: center;
}

.flow-section-heading>span {
  display: block;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .18em;
  color: #ef9747;
}

.flow-section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .1em;
  color: #222;
}

.sp-br {
  display: none;
}


/* =====================================
   INTRO
===================================== */
.flow-intro {
  padding: 50px 6% 95px;
  background: #fff;
}

.flow-intro-text {
  max-width: 900px;
  margin: 0 auto;
}

.flow-intro-text p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .06em;
  color: #555;
}

.flow-intro-text p:last-child {
  margin-bottom: 0;
}


/* =====================================
   PROCESS
===================================== */
.flow-process {
  padding: 105px 6% 115px;
  background: #fafafa;
}

.flow-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 18px;
  z-index: 0;
  width: 1px;
  background: linear-gradient(to bottom,
      rgba(239, 151, 71, .18),
      rgba(239, 151, 71, .72),
      rgba(239, 151, 71, .18));
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 44px;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-step-marker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 190px;
  padding-left: 54px;
}

.flow-step-number {
  position: absolute;
  top: 0;
  left: 42px;
  z-index: 4;
  margin: 0;
  padding: 3px 9px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .12em;
  color: #ef9747;
  background: #fafafa;
}

.flow-step-number::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -29px;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 1px solid rgba(239, 151, 71, .72);
  border-radius: 50%;
  transform: translateY(-50%);
}

.flow-step-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
  margin-top: 30px;
  background: transparent;
}

.flow-step-icon img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.flow-step-content {
  padding: 34px 38px 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .04);
}

.flow-step-en {
  margin: 0 0 4px !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.4 !important;
  letter-spacing: .14em !important;
  color: #ef9747 !important;
}

.flow-step-content h3 {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .07em;
  color: #222;
}

.flow-step-content p {
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: .05em;
  color: #555;
}

.flow-step-content .flow-step-note {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed rgba(0, 0, 0, .12);
  font-size: 12px;
  line-height: 1.8;
  color: #777;
}


/* =====================================
   GUIDE
===================================== */
.flow-guide {
  padding: 105px 6% 115px;
  background: #fff;
}

.flow-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.flow-guide-card {
  padding: 42px 32px 38px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .04);
}

.flow-guide-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 25px;
}

.flow-icon-circle {
  width: 80px;
  height: 80px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;
  background: #fff8ef;
}

.flow-icon-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.flow-guide-icon svg {
  width: 27px;
  height: 27px;
  stroke: #ef9747;
  stroke-width: 1.5;
}

.flow-guide-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.flow-guide-card h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .06em;
  color: #222;
}

.flow-guide-card p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .04em;
  color: #555;
}



/* =====================================
   PROCESS INTRO：PC表示のみ1行
===================================== */
@media (min-width: 769px) {
  .flow-intro-text {
    max-width: 1160px;
  }

  .flow-intro-text p:nth-child(2) {
    white-space: nowrap;
  }
}

/* =====================================
   TABLET
===================================== */
@media (max-width: 980px) {
  .flow-timeline::before {
    left: 14px;
  }

  .flow-step {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 24px;
  }

  .flow-step-marker {
    min-height: 170px;
    padding-left: 44px;
  }

  .flow-step-number {
    left: 34px;
    padding: 3px 8px;
    font-size: 21px;
  }

  .flow-step-number::before {
    left: -25px;
  }

  .flow-step-icon {
    width: 160px;
    height: 160px;
    margin-top: 29px;
  }

  .flow-step-icon img {
    width: 160px;
    height: 160px;
  }

  .flow-step-content {
    padding: 30px 30px 28px;
  }

  .flow-guide-list {
    gap: 20px;
  }

  .flow-guide-card {
    padding: 36px 24px 34px;
  }
}


/* =====================================
   SMARTPHONE
===================================== */
@media (max-width: 768px) {

  /* CONTACT説明文：スマホ表示のみ改行後も左揃え */
  .contact .section-title p {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }


  /* HERO：SERVICEページと同じ数値 */
  .flow-page-hero {
    min-height: 170px;
    padding: 45px 6%;
  }

  .flow-hero-bg-text {
    top: 50%;
    font-size: clamp(48px, 18vw, 90px);
  }

  .flow-hero-title {
    margin-top: 25px;
  }

  .flow-hero-title p {
    display: block;
    margin: 0;
    font-size: 18px;
    letter-spacing: .08em;
    color: #222;
  }

  .sp-br {
    display: block;
  }

  .flow-section-heading {
    margin-bottom: 38px;
  }

  .flow-section-heading>span {
    font-size: 30px;
    letter-spacing: .14em;
  }

  .flow-section-heading h2 {
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: .07em;
  }

  .flow-intro {
    padding: 70px 6% 75px;
  }

  .flow-intro-text p {
    font-size: 15px;
    line-height: 2.05;
  }

  .flow-process {
    padding: 76px 5% 82px;
  }

  .flow-timeline::before {
    top: 8px;
    bottom: 8px;
    left: 8px;
  }

  .flow-step {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 32px;
  }

  .flow-step-marker {
    min-height: 112px;
    padding-left: 20px;
  }

  .flow-step-number {
    top: 0;
    left: 24px;
    padding: 2px 5px;
    font-size: 15px;
    letter-spacing: .08em;
  }

  .flow-step-number::before {
    left: -22px;
    width: 8px;
    height: 8px;
  }

  .flow-step-icon {
    width: 88px;
    height: 88px;
    margin-top: 26px;
  }

  .flow-step-icon img {
    width: 88px;
    height: 88px;
  }

  .flow-step-content {
    padding: 25px 20px 23px;
    border-radius: 16px;
  }

  .flow-step-en {
    font-size: 11px !important;
  }

  .flow-step-content h3 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: .04em;
  }

  .flow-step-content p {
    font-size: 14px;
    line-height: 1.95;
    letter-spacing: .03em;
  }

  .flow-step-content .flow-step-note {
    font-size: 11px;
  }

  .flow-guide {
    padding: 76px 6% 82px;
  }

  .flow-guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-guide-card {
    padding: 34px 26px 32px;
  }

  .flow-guide-card h3 {
    font-size: 16px;
  }
}


/* =====================================
   SMALL SMARTPHONE
===================================== */
@media (max-width: 390px) {
  .flow-process {
    padding-right: 4%;
    padding-left: 4%;
  }

  .flow-timeline::before {
    left: 7px;
  }

  .flow-step {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 8px;
  }

  .flow-step-marker {
    min-height: 102px;
    padding-left: 17px;
  }

  .flow-step-number {
    left: 21px;
    padding: 2px 4px;
    font-size: 14px;
  }

  .flow-step-number::before {
    left: -19px;
    width: 7px;
    height: 7px;
  }

  .flow-step-icon {
    width: 78px;
    height: 78px;
    margin-top: 25px;
  }

  .flow-step-icon img {
    width: 78px;
    height: 78px;
  }

  .flow-step-content {
    padding: 22px 16px 21px;
  }

  .flow-step-content h3 {
    font-size: 16px;
  }

  .flow-step-content p {
    font-size: 13px;
  }
}