@charset "UTF-8";
/* ===================================
Reset
=================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* input textarea reset
==============================　*/
input,
textarea,
select {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 100%;
  outline: none;
  outline: 0;
}

select::-ms-expand {
  display: none;
}

/* iOSでのデフォルトスタイルをリセット */
input[type=submit],
input[type=button] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type=submit]::-webkit-search-decoration,
input[type=button]::-webkit-search-decoration {
  display: none;
}

input[type=submit]::focus,
input[type=button]::focus {
  outline-offset: -2px;
}

/* ===================================
Foundation
=================================== */
* {
  box-sizing: border-box;
  line-break: strict;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: rgb(238,251,255);
  background: linear-gradient(90deg, rgba(238,251,255,1) 0%, rgba(242,252,255,1) 12%, rgba(251,254,255,1) 50%, rgba(242,252,255,1) 88%, rgba(238,251,255,1) 100%);
  color: #161F5D;
}

/* テキスト
==============================　*/
a {
  text-decoration: none;
  color: inherit;
}

strong {
  font-weight: bold;
}

b {
  font-weight: bold;
}

sup {
  vertical-align: top;
}

/* メディア
==============================　*/
img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

video {
  display: block;
  max-width: 100%;
  height: auto;
  outline: none;
}

iframe {
  max-width: 100%;
}

/* テキスト
==============================　*/
.bold {
  font-weight: bold;
}

/* PC/SP切り替え
==============================　*/
.sp, .tb {
  display: none;
}

/* 改行
==============================　*/
/*任意の位置で改行させる*/
.ib {
  display: inline-block;
}

/*PCのみ*/
.pc-br {
  display: inline;
}

/*TBのみ*/
.tb-br {
  display: none;
}

/*PC〜TBにかけて*/
.pc-tb-br {
  display: inline;
}

/*TB〜SPにかけて*/
.tb-sp-br {
  display: none;
}

/*SPのみ*/
.sp-br {
  display: none;
}

/*iphoneSE用*/
.se-br {
  display: none;
}

@media screen and (max-width: 1024px) {
  .tb-br {
    display: inline;
  }
}


@media screen and (max-width: 768px) {
  .pc-br {
    display: none;
  }

  .tb-sp-br {
    display: inline;
  }
}
@media screen and (max-width: 600px) {
  .pc-tb-br {
    display: none;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }
}
@media screen and (max-width: 374px) {
  .se-br {
    display: inline;
  }

  .ib {
    display: none;
  } 
}

/* ===================================
ヘッダー
=================================== */
header {
  background: #fff;
  padding: 18px 50px;
}

.logo {
  max-width: 192px;
}

@media screen and (max-width: 1024px) {
  header {
    padding: 18px 40px;
  }
}

@media screen and (max-width: 600px) {
  header {
    padding: 16px 20px;
  }

  .logo img {
    width: 80%;
  }
}

/* ===================================
共通
=================================== */
.contents {
  width: 480px;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .contents {
    width: 100%;
    padding: 0 20px;
  }
}

/* ===================================
h1
=================================== */
h1 {
  background-image: url(../img/h1_bg.jpg);
  background-size: cover;
  background-position: center center;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  padding: 54px 0 58px;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 28px;
    padding: 36px 0 40px;
  }
}

/* ===================================
ステップ表示
=================================== */
.tab {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.tab li {
  position: relative;
}
.tab li:not(:first-of-type):before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background-color: #161F5D;
  position: absolute;
  bottom: 22%;
  left: -6px;
  transform: translateX(-100%);
  transition: .3s;
}
.tab li .circle {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: linear-gradient(90deg, rgba(0,8,60,1) 0%, rgba(24,30,93,1) 50%, rgba(0,8,60,1) 100%);
  border-radius: 50px;
  margin: 10px auto 0;
  position: relative;
  transition: .3s;
}
.tab li .number {
  font-size: 14px;
  transition: .3s;
}

.tab li.active:not(:first-of-type):before {
  background-color: #B1292C;
}
.tab li.active .circle {
  background: linear-gradient(90deg, rgba(150,40,40,1) 0%, rgba(177,41,44,1) 50%, rgba(150,40,40,1) 100%);
}
.tab li.active .number {
  color: #B1292C;
}

@media screen and (max-width: 600px) {
  .tab {
    margin-top: 30px;
  }
  .tab li:not(:first-of-type):before {
    width: 8vw;
    left: -1vw;
  }
  .tab li .circle {
    width: 24px;
    height: 24px;
  }
}
@media screen and (max-width: 500px) {
  .tab li:not(:first-of-type):before {
    width: 7vw;
    left: -0.5vw;
  }
}
@media screen and (max-width: 450px) {
  .tab li:not(:first-of-type):before {
    width: 6vw;
    left: 0;
  }
}
@media screen and (max-width: 380px) {
  .tab li:not(:first-of-type):before {
    width: 5vw;
    left: 0.2vw;
  }
}
@media screen and (max-width: 350px) {
  .tab li:not(:first-of-type):before {
    width: 4vw;
  }
}

/* ===================================
フォーム 共通
=================================== */
.form {
  position: relative;
  margin-top: 40px;
}

.area {
  position: absolute;
  top: 0;
  z-index: -1;
  opacity: 0;
  transition: .3s;
  width: 100%;
  height: 100%;
}

.area.is-active {
  position: relative;
  z-index: 999;
  opacity: 1;
}

.form_ttl {
  display: flex;
  justify-content: center;
  background-color: #161F5D;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  padding: 14px 0;
}

.ttl_number {
  font-size: 20px;
  margin-right: 10px;
}

.ttl_txt {
  padding-top: 1px;
}

.form_contents {
  min-height: 220px;
  font-weight: 700;
  margin-top: 30px;
}

.textbox,.select_box {
  margin-top: 20px;
}

.textbox input {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #161F5D;
  border: 1px solid #C6C6C6;
  border-radius: 0;
  padding: 16px 20px 18px;
}

.textbox input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: #161F5D;
} 

input[type="text"]::placeholder {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300 !important;
  color: #C6C6C6;
} 

@media screen and (max-width: 600px) {
  .form {
    margin-top: 30px;
  }

  .form_contents {
    min-height: 200px;
  }

  .form_ttl {
    display: block;
    padding: 12px 12px 14px;
  }

  .ttl_number {
    font-size: 18px;
    margin-bottom: 6px;
    max-width: 0;
  }

  .textbox,.select_box {
    margin-top: 16px;
  }

  .textbox input {
    padding: 16px;
  }

  input[type="text"]::placeholder {
    font-weight: 400 !important;
  }
}

@media screen and (max-width: 374px) {
  .form_ttl {
    font-size: 16px;
  }

  .ttl_number {
    font-size: 16px;
  }
}

/* ===================================
STEP1
=================================== */
.radio > span{
	margin-bottom: 20px;
}

.radio label input[type=radio]{
	display: none;
}

/* チェック前 */
.radio label input[type=radio] + span{
	position: relative;
  cursor: pointer;
  display: block;
  padding-left: 36px;
  word-break: break-all;
  line-height: 1.4em;
  margin-bottom: 20px;
}
.radio label input[type=radio] + span::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  border: 1px solid #161F5D;
	background-color: #fff;
}
.radio label input[type=radio] + span::after{
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  transform: unset;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: #161F5D;
  opacity: 0;
}

/* チェック後 */
.radio label input[type=radio]:checked + span{
	position: relative;
  cursor: pointer;
  display: block;
  padding-left: 36px;
  line-height: 1.4em;
  margin-bottom: 20px;
}
.radio label input[type=radio]:checked + span::before{
	content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  border: 1px solid #161F5D;
  background-color: #fff;
}
.radio label input[type=radio]:checked + span::after{
	content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  transform: unset;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: #161F5D;
  opacity: 1;
}

.radio.form_contents label {
  display: block;
  width: fit-content;
}

/* ===================================
STEP2
=================================== */
.name {
margin-top: 20px;
}

@media screen and (max-width: 600px) {
  .name {
    margin-top: 16px;
  }
}

/* ===================================
STEP3
=================================== */
select {
  width: 100%;
  font-size: 16px;
  color: #161F5D;
  background-color: #fff;
  border: 1px solid #C6C6C6;
  border-radius: 0;
  padding: 18px 20px 16px;
}

.select_box {
  position: relative;
}

.select_box::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 1px solid #161F5D;
  border-bottom: 1px solid #161F5D;
  transform: rotate(-45deg);
  position: absolute;
  top: 34%;
  right: 5%;
}

@media screen and (max-width: 600px) {
  select {
    padding: 16px;
  }

  .select_box::before {
    top: 34%;
    right: 6%;
  }
}

/* ===================================
STEP6
=================================== */
/* チェック前 */
.check label input[type=checkbox] + span{
	position: relative;
  cursor: pointer;
  display: block;
  padding-left: 36px;
  word-break: break-all;
  line-height: 1.4em;
}
.check label input[type=checkbox] + span::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #161F5D;
	background-color: #FFF;
}
.check label input[type=checkbox] + span::after{
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 3px;
  transform: rotate(-45deg);
  width: 12px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 0;
}

/* チェック後 */
.check label input[type=checkbox]:checked + span{
	position: relative;
  cursor: pointer;
  display: block;
  padding-left: 36px;
  line-height: 1.4em;
}
.check label input[type=checkbox]:checked + span::before{
	content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #161F5D;
  background-color: #161F5D;
}
.check label input[type=checkbox]:checked + span::after{
	content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 3px;
  transform: rotate(-45deg);
  width: 12px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 1;
} 

.check label input {
  margin-left: -2px;
}

.privacy_policy {
  line-height: 1.6;
  text-align: center;
}

.privacy_policy a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.check label {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.err_txt{
  display: none;
  margin-top: 15px;
  color: #f02f34;
  font-weight: 400;
  font-size: 16px;
}
.err_txt.active{
  display: block;
}

@media screen and (max-width: 600px) {
  .check label {
    margin-top: 30px;
  }
}

/* ===================================
ボタン
=================================== */
button{
  cursor: pointer;
  box-shadow: none;
  border: none;
  background-color: unset;
}
.next,
.submit {
  width: 100%;
  height: 60px;
  background: linear-gradient(0deg, rgba(222,76,36,1) 47%, rgba(245,121,24,1) 53%);
  border-radius: 8px;
  box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.25);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-top: 30px;
  transition: .3s;
}
.next:hover,
.submit:hover {
  opacity: 0.7;
}

.next {
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow {
  content: url(../img/btn_arrow.svg);
  width: 14px;
  height: 14px;
  margin: 2px 0 0 14px;
}

.prev {
  display: block;
  margin: auto;
  margin-top: 20px;
  color: #161F5D;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  transition: .3s;
}
.prev:hover {
  opacity: 0.7;
}

@media screen and (max-width: 600px) {
  .next,.submit input {
    font-size: 18px;
  }

  .arrow {
    margin-left: 10px;
  }
}

/* ===================================
フッター
=================================== */
/* .main {
  min-height: calc(100vh - 110px);
} */

.copyright {
  width: 100%;
  background: #222;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 20px 0 18px;
  margin-top: 60px;
}

@media screen and (max-width: 600px) {
  .copyright {
    margin-top: 40px;
  }

  .main {
    min-height: calc(100vh - 140px);
  }
} 

@media screen and (min-height: 700px) {
  .main {
    min-height: calc(100vh - 0px);
  }

  .copyright {
    margin-top: auto;
  }
}

@media screen and (min-height: 850px) {
  .main {
    min-height: calc(100vh - 110px);
  }
}

@media screen and (min-height: 1000px) {
  .main {
    min-height: calc(100vh - 160px);
  }
}

/* ===================================
サンクスページ
=================================== */
.thanks_contents {
  font-weight: 700;
  text-align: center;
  margin-top: 120px;
}

.thanks_contents h2 {
  font-size: 24px;
}

.thanks_contents p {
  line-height: 2;
  margin-top: 50px;
}

.prev_top {
  margin-top: 50px;
}

@media screen and (max-width: 1024px) {
  .thanks_contents {
    padding: 0 40px;
  }
}

@media screen and (max-width: 600px) {
  .thanks_contents {
    padding: 0 20px;
    margin-top: 60px;
  }

  .thanks_contents h2 {
    font-size: 20px;
  }

  .thanks_contents p {
    font-size: 16px;
    text-align: left;
    margin-top: 30px;
  }

  .prev_top {
    margin-top: 30px;
  }
}