@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

/* 申込フロー（チーム登録・連盟登録）— subpage_test 向け再設計 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body.regist-flow {
  margin: 0;
  padding: 24px 12px 40px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #222;
  background: #f0f4fa;
}

.regist-flow img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

.regist-flow a:link,
.regist-flow a:visited {
  color: #1a56c7;
}

.regist-flow a:hover {
  color: #144bab;
  text-decoration: underline;
}

#wrapper.regist-shell {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 60, 120, 0.08);
  border: 1px solid #dde5ef;
}

.regist-flow h1 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: #143a7a;
}

.regist-flow h2 {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  color: #c45a00;
}

.regist-flow h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: #b32020;
      line-height: 1.4;
}

.regist-flow h4 {
  margin: 20px 0 12px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  color: #1a2d4d;
  line-height: 1.5;
}

.regist-flow .para_txt {
  margin: 16px 0;
  padding: 0;
}

.regist-flow .para2_txt {
  margin: 0 0 16px;
  padding: 0 0 0 clamp(0px, 3vw, 16px);
  border-left: 3px solid #cddff6;
  color: #333;
}

.regist-flow .hp_btn {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(180deg, #1a7fd4 0%, #156cc0 100%);
  border-radius: 10px;
  border: 1px solid #135aa8;
  box-shadow: 0 2px 8px rgba(26, 86, 199, 0.22);
}

.regist-flow .hp_btn:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.regist-figure {
  text-align: center;
  margin: 24px 0;
}

/* 手続き説明は Flex の子にしない（混入すると STEP がテキスト流しになる） */
.regist-steps-note {
  margin: 16px 0 12px;
  padding: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2a3f5f;
}

.regist-steps-note__emph {
  color: #1a56c7;
  font-weight: 600;
}

.regist-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  width: 100%;
  clear: both;
}

.regist-flow .contact_step_on,
.regist-flow .contact_step_off {
  flex: 1 1 120px;
  max-width: 160px;
  min-width: 100px;
  height: auto;
  min-height: 56px;
  margin: 0;
  float: none;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.regist-flow .contact_step_on_title,
.regist-flow .contact_step_off_title {
  width: 100%;
  height: auto;
  min-height: 26px;
  padding: 6px 8px;
  float: none;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.regist-flow .contact_step_on_txt,
.regist-flow .contact_step_off_txt {
  width: 100%;
  height: auto;
  min-height: 30px;
  padding: 6px 8px;
  float: none;
  flex: 1;
  font-size: 11px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.regist-flow table.team_seat {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
}

.regist-flow .team_seat th,
.regist-flow .team_seat td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #dfe4ea;
}

.regist-flow .team_seat th {
  width: 32%;
  background: #f4f8ff;
  color: #2a3f5f;
  font-weight: 600;
}

.regist-flow .team_seat td {
  background: #fff;
}

.regist-flow .basic,
.regist-flow input.basic {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #c5d3e8;
  border-radius: 8px;
  margin: 4px 0;
}

.regist-flow .contact_txtarea,
.regist-flow textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #c5d3e8;
  border-radius: 8px;
  min-height: 120px;
}

.regist-flow select {
  max-width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #c5d3e8;
  border-radius: 8px;
  min-height: 48px;
}

.regist-flow .contact_confirm,
.regist-flow input.contact_confirm {
  display: inline-block;
  margin: 24px auto 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  color: #fff;
  background: linear-gradient(180deg, #1a56c7 0%, #144bab 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 86, 199, 0.3);
}

.regist-flow .contact_confirm:hover {
  filter: brightness(1.06);
}

.regist-flow div.align-center,
.regist-flow .regist-submit-wrap {
  text-align: center;
  clear: both;
}

#footer.regist-footer,
.regist-flow #footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e4e8ef;
  text-align: center;
  font-size: 13px;
  color: #5a6b7d;
  clear: both;
}

@media (max-width: 640px) {
  body.regist-flow {
    padding: 12px 8px 32px;
    font-size: 15px;
  }

  #wrapper.regist-shell {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .regist-flow .team_seat,
  .regist-flow .team_seat tbody,
  .regist-flow .team_seat tr,
  .regist-flow .team_seat th,
  .regist-flow .team_seat td {
    display: block;
    width: 100% !important;
  }

  .regist-flow .team_seat tr {
    margin-bottom: 8px;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    overflow: hidden;
  }

  .regist-flow .team_seat th {
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
  }

  .regist-flow .team_seat td {
    border-top: 0;
  }

  .regist-flow input[type="submit"],
  .regist-flow button {
    max-width: 100%;
  }
}
