@charset "UTF-8";
/* ==========================================================================
   ご相談の流れ（flow.php）
   ========================================================================== */

/* STEP */
.hgw-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hgw-step__item {
  display: grid;
  grid-template-columns: 140px 220px 1fr;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
}
.hgw-step__badge {
  display: flex;
  padding: 28px 0 28px 32px;
}
.hgw-step__ttl {
  padding: 0 24px 0 0;
  font-size: 1.9rem;
  font-weight: 700;
}
.hgw-step__text {
  padding: 24px 32px 24px 0;
  font-size: 1.5rem;
}

@media (max-width: 896px) {
  .hgw-step__item { grid-template-columns: 120px 1fr; }
  .hgw-step__badge { grid-row: span 2; padding: 20px 0 20px 20px; }
  .hgw-step__ttl { padding: 20px 20px 0 0; }
  .hgw-step__text { padding: 4px 20px 20px 0; }
}

/* ONLINE */
.hgw-online {
  position: relative;
  overflow: hidden;
}
.hgw-online__circle {
  right: 8%;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
}
.hgw-online__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hgw-online__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hgw-online__ttl { line-height: 1.5; }
.hgw-online__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hgw-online__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 16px;
  background: #fff;
  color: #293540;
  text-align: center;
  box-shadow: 0 12px 32px -16px rgba(6, 38, 74, 0.25);
}
.hgw-online__en {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  color: #096fc8;
}
.hgw-online__name { font-size: 1.7rem; }

@media (max-width: 896px) {
  .hgw-online__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 639px) {
  .hgw-online__cards { grid-template-columns: 1fr; }
}

/* SMALL LOT */
.hgw-smalllot {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 56px;
  border: 1px solid #0A4E8C;
  border-radius: 16px;
}
.hgw-smalllot__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 896px) {
  .hgw-smalllot { grid-template-columns: 1fr; gap: 16px; padding: 32px 24px; }
}

/* FAQ */
.hgw-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hgw-faq__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 40px;
  background: #F3F9FE;
  border-radius: 16px;
}
.hgw-faq__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: baseline;
}
.hgw-faq__row--a {
  padding-top: 14px;
  border-top: 1px solid #D3E4F2;
}
.hgw-faq__mark { font-size: 2.4rem; }
.hgw-faq__q { font-size: 1.8rem; }

@media (max-width: 639px) {
  .hgw-faq__item { padding: 24px 20px; }
  .hgw-faq__row { grid-template-columns: 28px 1fr; gap: 8px; }
  .hgw-faq__mark { font-size: 2rem; }
  .hgw-faq__q { font-size: 1.6rem; }
}
