* {
    margin: 0;
    box-sizing: border-box;
}
.hero_wrap{
	background: #fffaec;
}
body {
    background: #f6f8fb;
    color: #111;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}
.form_container{
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
        background: linear-gradient(180deg, #FFFBF1 0%, #FFEDBB 100%);
}

.role-form {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.role-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.role-legend {
    font-weight: 900;
    font-size: 25px;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    color: #0f172a;
}

.role-flex {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 50px;
}

.role-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.role-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;

    width: min(520px, 100%);
    padding: 18px 20px;

    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    user-select: none;

    background: linear-gradient(135deg, #55a9d4, #3f8fbf);
    color: #fff;

    border: 2px solid rgba(255,255,255,0.55);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.12);

    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease, border-color 220ms ease;
    overflow: hidden;
}

.role-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(800px 220px at 15% 0%, rgba(255,255,255,0.24), transparent 60%),
        radial-gradient(900px 260px at 100% 120%, rgba(0,0,0,0.18), transparent 60%);
    pointer-events: none;
}

.role-card:hover {
    transform: translateY(-3px);
    filter: brightness(1.02);
    border-color: rgba(255,255,255,0.82);
    box-shadow: 0 24px 64px rgba(2, 6, 23, 0.18);
}

.role-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;

    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.role-icon i {
    font-size: 22px;
}

.role-text {
    display: grid;
    gap: 6px;
    min-width: 0;
    text-align: left;
}

.role-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-sub {
    font-size: 12px;
    letter-spacing: 0.02em;
    opacity: 0.92;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-arrow {
    margin-left: auto;
    font-size: 18px;
    font-weight: 900;
    opacity: 0.92;
    transform: translateX(0);
    transition: transform 220ms ease, opacity 220ms ease;
}

.role-card:hover .role-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.role-card.is-sales {
    background: linear-gradient(135deg, #4fb7a9, #2b9487);
}

.role-input:checked + .role-card {
    border-color: rgba(255,255,255,0.95);
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.22);
}

.role-input:checked + .role-card::after {
    content: "SELECTED";
    position: absolute;
    top: 12px;
    right: 12px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;

    padding: 7px 10px;
    border-radius: 999px;

    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.28);
}

.role-submit {
    margin-top: 18px;
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;

    background: #0f172a;
    color: #fff;

    font-weight: 900;
    letter-spacing: 0.08em;

    cursor: pointer;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.18);
    transition: transform 220ms ease, opacity 220ms ease;

}

.role-submit:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.role-form-button{
    width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .role-flex {
        gap: 14px;
    }

    .role-card {
        padding: 16px 16px;
        border-radius: 14px;
    }

    .role-title {
        font-size: 18px;
    }
}


.salary_container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 24px;
}

.salary_box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 34px;
    border-radius: 18px;

    border: 3px solid #4ea0d8;
    background: #ffffff;

    cursor: text;
}

.salary_label {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #000;
}

.salary_input_wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.salary_input {
    width: 340px;
    border: none;
    outline: none;

    font-size: 60px;
    font-weight: 900;
    text-align: right;
    letter-spacing: 0.04em;

    color: #000;
    background: transparent;

    appearance: textfield;
}

.salary_input::-webkit-outer-spin-button,
.salary_input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.salary_unit {
    font-size: 30px;
    font-weight: 900;
    margin-left: 6px;
}

.salary_box:focus-within {
    border-color: #1d7fc9;
    box-shadow: 0 0 0 4px rgba(78, 160, 216, 0.18);
}

/* スマホ */
@media (max-width: 768px) {
    .salary_box {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .salary_label {
        font-size: 22px;
    }

    .salary_input {
        width: 170px;
        font-size: 36px;
    }

    .salary_unit {
        font-size: 20px;
    }
}

/* もっと上品なフォーム（左ラベル / 右入力） */
.info_form {
    width: 100%;
    max-width: 980px;
    margin: 18px auto 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info_row {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* 左ラベル：デカすぎ問題を解消 */
.info_label {
    width: 180px;
    flex: 0 0 180px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #0f172a;
    line-height: 1.1;
}

/* 右の入力ボックス：グレーのベタ塗り→洗練 */
.info_field {
    position: relative;
    flex: 1;
    min-height: 76px;
    border-radius: 16px;

    background: linear-gradient(180deg, #f3f5f8, #edf1f6);
    border: 1px solid rgba(15, 23, 42, 0.10);

    display: flex;
    align-items: center;
    padding: 0 18px;

    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
    transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}

/* 左に細いアクセントライン */
.info_field::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(78,160,216,0.95), rgba(79,183,169,0.95));
    opacity: 0.55;
}

/* input/select共通 */
.info_input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;

    padding-left: 16px; /* アクセント線分 */
    font-size: 20px;
    font-weight: 800;
    color: #0b1220;
    letter-spacing: 0.03em;
}

.info_input::placeholder {
    color: rgba(15, 23, 42, 0.38);
    font-weight: 700;
}

/* selectもinputっぽく */
select.info_input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 44px;
}

.info_chev {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(15, 23, 42, 0.55);
    pointer-events: none;
}

/* フォーカス時：上品に光らせる */
.info_field:focus-within {
    border-color: rgba(78, 160, 216, 0.55);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12), 0 0 0 5px rgba(78, 160, 216, 0.14);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .info_form {
        max-width: 560px;
        gap: 12px;
    }

    .info_row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .info_label {
        width: 100%;
        flex: none;
        font-size: 22px;
    }

    .info_field {
        min-height: 64px;
        border-radius: 14px;
        padding: 0 14px;
    }

    .info_input {
        font-size: 16px;
        padding-left: 14px;
    }
}

/* フォームと同じ「薄いベージュのグラデ背景」 */
.thanks_container{
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: linear-gradient(180deg, #FFFBF1 0%, #FFEDBB 100%);
}

.thanks_inner{
  width: 100%;
  max-width: 980px;
}

/* カード（フォームのinfo_fieldの雰囲気：上品な影＋角丸） */
.thanks_card{
  width: 100%;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 34px 34px;

  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}

/* うっすらハイライト */
.thanks_card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(800px 240px at 12% 0%, rgba(78,160,216,0.18), transparent 60%),
    radial-gradient(900px 260px at 100% 120%, rgba(0,0,0,0.12), transparent 60%);
  pointer-events:none;
}

.thanks_legend{
  text-align: center;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 10px;
}

.thanks_title{
  text-align: center;
  font-weight: 1000;
  font-size: 34px;
  letter-spacing: 0.04em;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 12px;
}

.thanks_lead{
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.78);
  margin-bottom: 22px;
}

/* ボタンエリア */
.thanks_actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 auto;
  max-width: 720px;
  position: relative;
}

.thanks_btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 16px;
  border-radius: 14px;
  text-decoration: none;

  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;

  transform: translateY(0);
  transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

.thanks_btn_primary{
  background: #0f172a; /* フォームのsubmitと同系色 */
  color: #fff;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.18);
}

.thanks_btn_secondary{
  background: linear-gradient(180deg, #f3f5f8, #edf1f6);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
}

.thanks_btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 180px at 15% 0%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(700px 220px at 100% 120%, rgba(0,0,0,0.10), transparent 60%);
  pointer-events:none;
  opacity: 0.9;
}

.thanks_btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  opacity: 0.98;
}

.thanks_arrow{
  font-size: 18px;
  font-weight: 900;
  transform: translateX(0);
  transition: transform 220ms ease;
}

.thanks_btn:hover .thanks_arrow{
  transform: translateX(5px);
}

/* 案内ボックス */
.thanks_info{
  margin-top: 22px;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(243,245,248,0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.thanks_info_head{
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 10px;
  font-size: 14px;
}

.thanks_info_list{
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.thanks_info_list li{
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
}

/* スマホ */
@media (max-width: 768px){

  .thanks_container{
    padding: 40px 14px;
	  min-height:60vh;
  }

  .thanks_card{
    padding: 22px 18px;
    border-radius: 16px;
  }

  .thanks_legend{
    font-size: 15px;
  }

  .thanks_title{
    font-size: 24px;
  }

  .thanks_lead{
    font-size: 14px;
    margin-bottom: 18px;
  }

  .thanks_actions{
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 520px;
  }

  .thanks_btn{
    padding: 15px 14px;
    border-radius: 14px;
  }

  .thanks_arrow{
    font-size: 17px;
  }

  .thanks_info{
    margin-top: 18px;
    padding: 16px 14px;
  }

  .thanks_info_list li{
    font-size: 13px;
  }
}

/* さらに小さい端末（320〜） */
@media (max-width: 420px){

  .thanks_title{
    font-size: 22px;
  }

  .thanks_btn{
    padding: 14px 12px;
  }

  .thanks_info_list{
    padding-left: 16px;
  }
}
