@charset "UTF-8";

/* 2箇所以上同じカラーを使用する場合は変数化 */

:root {
  --c-white-color: #fff;
  --c-text-color: #282828;
  /* テキストカラー */
  --c-background-color: #F8F5E9;
  /* 全体背景色 */
  --c-background-image: url("../img/bkg_img.png");
  /* 全体背景画像 */
  --c-accent-orange: #ff8915;
  /* あと〜つ */
  --c-accent-blue: #007ed2;
  /* 各ボタンカラー、入力項目の枠色等 */
  --c-after-blue: #004d80;
  /* 各ボタンカラー、入力項目の枠色等 */
  --c-border-blue: #183B63;
  /* 各ボタンカラー、入力項目の枠色等 */
  --c-bkg-blue: #E9F4F7;
  /* 各ボタンカラー、入力項目の枠色等 */
  --c-gray-color: #aaa;
  /* ページャードットカラー、計算中時の送信ボタンカラー */
  --c-back-color: #B6B7B7;
  /* 戻るボタン */
  --c-input-bg-color: #edf3f8;
  /* 入力項目背景色 */
  --bg-hilight: linear-gradient(transparent 60%, #fff3b5 60%);
  /* 質問文マーカー */
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

html,
body {
  font-family: sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

html {
  font-size: 62.5%;
}

button,
input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

body {
  -webkit-text-size-adjust: 100%;
  background: var(--c-background-image);
  background-size: contain;
  color: var(--c-text-color);
  font-family: "Noto Sans JP","Yu Gothic","游ゴシック体", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 14px;
  font-size: 1.4rem;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
address,
ul,
ol,
li,
dl,
dt,
dd,
table,
caption,
th,
td,
img,
form {
  border: none;
  border-collapse: collapse;
  font-size: 100%;
  font-style: normal;
  font-weight: normal;
  line-height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  vertical-align: top;
}

a {
  color: var(--c-text-color);
  text-decoration: none;
}

p {
  margin: 0;
}

textarea {
  font-size: 100%;
  resize: none;
}

img {
  border-style: none;
  image-rendering: smooth;
  max-width: 100%;
}

hr {
  display: none;
}

em {
  font-style: normal;
}

input {
  line-height: normal;
  vertical-align: top;
}

/* Hides from IE-mac \*/

* html .CF {
  height: 1%;
}

* + html .CF {
  min-height: 1%;
}

.cf {
  display: block;
}

/* End hide from IE-mac */

/*Google Chrome*/

a,
input,
textarea,
select {
  outline: none;
}

input,
textarea,
select {
  font-size: 1.6rem;
}

input[type="email"] {
  line-height: 2;
}

#personals input[type="tel"],
#personals input[type="email"],
#personals textarea,
select {
    background: var(--c-input-bg-color);
    border: 2px solid var(--c-border-blue);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    padding: 0.5em;
}

select {
  height: 50px;
  width: 100%;
}

.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.clearfix {
  display: inline-table;
}

ul.t {
  display: table;
  width: 100%;
}

ul.t li.t {
  display: table-cell;
}

.centering {
  text-align: center;
}

.righting {
  text-align: right;
}

/* --------------------
brak point
-------------------- */

.max374 {
  display: none;
}

/***************************************

common

***************************************/

#wrapper {
  margin: 0 auto;
  max-width: 640px;
  overflow: hidden;
}

header {
  align-items: center;
  background: var(--c-white-color);
  display: flex;
  height: 40px;
  justify-content: center;
  text-align: center;
}

.office_name {
  color: var(--c-text-color);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
}

.office_name img {
  max-width: 50%;
}

.main_title {
  left: 0;
  margin: auto;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 20px;
}

.footer {
  font-size: 1.2rem;
  padding: 20px 0;
  width: 100%;
}

.footer ul {
  display: flex;
  justify-content: center;
}

.footer ul li {
  flex-shrink: 0;
  margin: 0 40px;
}

article {
  /*background: url(../img/back_image.png) center top/100% auto no-repeat;*/
  overflow: hidden;
  position: relative;
  width: 100%;
}

.counter {
  left: 14%;
  max-width: 200px;
  position: absolute;
  top: 21%;
}

.counter img {
  max-width: 100%;
}

#loader {
  background: var(--c-white-color);
  border-radius: 20px;
  height: 40px;
  left: 50%;
  margin: -20px 0 0 -20px;
  padding: 10px;
  position: fixed;
  top: 50%;
  width: 40px;
  z-index: 5;
}

#loader img {
  height: auto;
  width: 100%;
}

button {
    background: var(--c-accent-blue);
    border: none;
    border-radius: 10px;
    color: var(--c-white-color);
    cursor: pointer;
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
    text-align: center;
    transition: 0.3s;
    width: 100%;
}
button.before {
    background: #DDDDDD;
    border: none;
    border-radius: 10px;
    color: #8B8B8B;
    cursor: pointer;
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
    text-align: center;
    transition: 0.3s;
    width: 100%;
}

button:focus {
  outline-width: 0;
}

/*button:focus,
buttonactive,
button:hover {
  background: var(--c-accent-orange);
  border-color: var(--c-white-color);
  color: var(--c-white-color);
}*/

button.before:after {
  background: #000;
  border-radius: 10px;
  content: '';
  display: block;
  height: 110%;
  left: 0%;
  position: absolute;
  top: 1px;
  width: 100%;
  z-index: -1;
}
button:after {
    background: var(--c-after-blue);
    border-radius: 10px;
    content: '';
    display: block;
    height: 110%;
    left: 0;
    position: absolute;
    top: 1px;
    width: 100%;
    z-index: -1;
}

button.checked {
  background: var(--c-white-color);
  border-width: 3px;
  font-weight: bold;
}

.back {
  background: var(--c-white-color);
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(185, 185, 185, 0.16);
  display: inline-block;
  font-size: 1.2rem;
  margin: 48px 0 0 -5px;
  opacity: 0;
  padding: 12px 20px;
  position: absolute;
  transition: 0.3s;
  visibility: hidden;
}

.back.is-show {
  opacity: 1;
  visibility: visible;
}

.button {
  margin: 16px auto 0;
  width: 160px;
}

li.space {
  float: left;
  padding-bottom: 10px;
}

li.col {
  float: left;
}

/***************************************

main contents

***************************************/

#space_answer {
  margin: 58% 10px 0 10px;
  min-height: 190px;
  padding: 20px 0 10px;
  position: relative;
}

@media screen and (max-width: 768px) {
#space_answer {
    margin: 245px 10px 0 10px;
    min-height: 190px;
    padding: 20px 0 10px;
    position: relative;
}
}

@media screen and (max-width: 768px) {
  li.col:nth-dhild(2){
    margin-right: 20px;
  }
}

.contents_wrapper {
  background: var(--c-white-color);
  border-radius: 0 16px 16px 16px;
  /*box-shadow: 0 3px 20px #C4C4C4;*/
  padding: 26px 5px 20px;
  position: relative;
  z-index: 0;
}
@media screen and (max-width: 768px){
  .contents_wrapper {
    box-shadow: 0 3px 20px #c4c4c4;
  }
}

/* --------------------
ページャー（あと○つ）
-------------------- */

#space_count {
  background: var(--c-white-color);
  border-radius: 10px 10px 0 0;
  left: 0;
  /*margin: auto;*/
  overflow: hidden;
  position: absolute;
  right: 0;
  top: -15px;
  width: 96px;
  z-index: 2;
}

#space_count ul {
  width: 192px;
}

#space_count li {
  float: left;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 0px;
  text-align: center;
  width: 96px;
}

.space_count_inner {
padding-bottom: 4px;
    font-size: 18px;
    color: #737373;
}

#space_count em {
  color: var(--c-accent-orange);
  font-weight: bold;
}

#space_count em span {
  font-size: 3rem;
}

/* --------------------
質問文
-------------------- */

div.title {
  font-size: 1.6rem;
  margin: 0;
  overflow: hidden;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}

div.title ul li {
  float: left;
  font-weight: bold;
  height: 100%;
  overflow: hidden;
  text-align: center;
}

div.title ul li .icon_q {
  display: inline-block;
  line-height: 45px;
  position: relative;
  text-align: left;
  vertical-align: top;
}

div.title ul li .icon_q:before {
  background: url(../img/icon_q.png) left top/cover no-repeat;
  image-rendering: -webkit-optimize-contrast;
  content: '';
  display: inline-block;
  width: 40px;
  height: 45px;
  top: 0;
  left: -80px;
  position: absolute;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
div.title ul li .icon_q:before {
    left: -40px;
    width: 30px;
    height: 35px;
}
}

div.title ul li:first-child {
  height: 72px;
  margin-bottom: 4px;
}

@media screen and (max-width: 768px) {
div.title ul li:first-child{
    width: 20%!important;
}
}

div.title ul li:first-child .title_inner {
  display: inline-block;
  line-height: 22px;
  vertical-align: middle;
}

/* 「リボ払いやカードローン・銀行を含む」テキスト用 */

.caution_text {
  font-size: .8em;
}

div.title .title_hilight {
  /*background: var(--bg-hilight);*/
  display: inline;
  color: #3b3b3b;
}

@media screen and (max-width: 768px) {
div.title .title_hilight {
    font-size: 14px;
}
}

/* --------------------
回答エリア
-------------------- */

.col_inner {
  margin: 0 auto;
  max-width: 360px;
}

/* --------------------
回答ボタン
-------------------- */

.button_list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 360px;
  padding: 0;
  width: 100%;
}

.button_list li {
  flex-shrink: 0;
  padding: 5px 5px 10px;
  width: 50%;
}

@media screen and (max-width: 400px) {
.button_list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin: 0;
    max-width: 360px;
    padding: 0 0 0 10px;
    width: 100%;
}
.button_list li {
  flex-shrink: 0;
  padding: 5px 5px 10px;
  width: 48%;
}
}

/* --------------------
借入金額
-------------------- */

.col_debt_amount input {
  background: var(--c-input-bg-color);
  border: 2px solid var(--c-border-blue);
  border-radius: 0;
  display: inline-block;
  font-size: 1.8rem;
  padding: 0.8em 0;
  padding: 10px 10px;
  text-align: left;
  width: 80%;
}

#number_input {
  margin: -12px 5px 0 45px;
}

#number_input span {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 5px 3px;
  vertical-align: bottom;
  color: #283c63;
}

#number_input em {
  align-items: center;
  display: flex;
  font-weight: 700;
  justify-content: center;
  margin: 0 3em 0.5em 0;
  text-align: center;
  color:var(--c-border-blue);
}

/*#number_input em::before,
#number_input em:after {
  background: var(--c-text-color);
  content: '';
  display: block;
  height: 1.2em;
  width: 1px;
}*/

/*#number_input em:before {
  margin-right: 10px;
  transform: rotate(-25deg);
}

#number_input em:after {
  margin-left: 10px;
  transform: rotate(25deg);
}*/

/***************************************

個人情報入力

***************************************/

#personals {
  background: var(--c-white-color);
  border-radius: 16px;
  margin: 10px 10px 0 10px;
  min-height: 230px;
  padding: 12px 20px 20px;
  position: relative;
  z-index: 0;
}

#personals .title {
  /*border-bottom: 2px dotted var(--c-gray-color);*/
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 0 0;
  padding: 0 0 12px;
  text-align: center;
}

#personals dl {
  font-size: 1.6rem;
}

#personals dt {
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 0 0;
  color: #183b63;
}

#personals dd {
  margin: 0.4em 0 0 0;
}

#personals dd.tel {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

#personals dd.tel span {
  font-size: 3.2rem;
}

#personals dd.tel input {
  height: 50px;
  vertical-align: baseline;
}

#personals input[type="tel"],
.tel .select_box {
  width: 27%;
}

#personals input[type="email"] {
  height: 50px;
  width: 100%;
}

#personals textarea {
  height: 60px;
  width: 100%;
}

/* --------------------
select box
-------------------- */

.select {
  background: url(../img/icon_arrow.png) calc(100% - 18px) center/18px 9px no-repeat #edf3f8;
}

/* --------------------
計算中・計算完了
-------------------- */

#personal_title_moving {
  align-items: center;
  border-radius: 5px 5px 0 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.title_result_text {
    background: #1496c7;
    color: #fff;
    padding: 5px 0;
    display: inline-block;
    font-size: 20px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    width: 200px;
    border-radius: 20px;
}
.title_result_text.after {
    background: #ff9415;
}


#personal_title_moving span {
  color: var(--c-white-color);
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000;
}

#personal_title_moving.before .after,
#personal_title_moving.after .before {
  display: none;
}
.personal_result_moving.before .after,
.personal_result_moving.after .before {
  display: none;
}

/***************************************

法テラス

***************************************/

.no_office {
  background: var(--c-white-color);
  border-radius: 16px;
  margin: 57% 10px 0 10px;
  min-height: 230px;
  padding: 12px 20px 20px;
  position: relative;
  z-index: 0;
}

.no_office p {
  line-height: 1.5;
  margin: 1em 15px;
  text-align: center;
}

.no_office p.logo {
  margin: 20px auto 0;
}

.no_office p.logo img {
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  max-width: 70%;
}

.no_office p.note {
  background: transparent;
  font-size: 1.2rem;
  width: auto;
}

.no_office .url a {
  color: #f06b00;
}

/***************************************

thanks

***************************************/
#stage section {
    background: #fff;
    margin: 15px 10px 0 10px;
    padding: 10px 10px 20px 10px;
    border-radius: 5px;
    min-height: 230px;
    position: relative;
}
#stage h2 {
    margin: 1em 0 1.2em;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #ff8309;
}
#stage h3 {
    text-align: center;
    font-size: 1.5rem;
    position: relative;
    margin: 0 0 1.5rem;
    font-weight: bold;
    color: #283c63;
}
#stage h3::before {
    content: "";
    width: 30%;
    border-bottom: 2px solid #283c63;
    position: absolute;
    left: 15px;
    top: 40%;
}
#stage h3::after {
    content: "";
    width: 30%;
    border-bottom: 2px solid #283c63;
    position: absolute;
    right: 15px;
    top: 40%;
}
.video {
    text-align: center;
    width: 100%;
}
#stage .video_title {
    color: #022d6a;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    border: 4px solid #007ed2;
    border-radius: 10px;
    text-align: left;
}
#stage .video_title .title_text-1 {
    display: inline-block;
    width: 20%;
    background: #007ed2;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 7% 0;
}
#stage .video_title .title_text-2 {
  color: #3b3b3b;
    display: inline-block;
    text-align: left;
    font-weight: bold;
    padding: 8px 10px;
    margin: 0;
    width: 76%;
}
#stage .video_title .title_text-2 span {
    background: linear-gradient(transparent 60%, #FFFC27 60%);
}
.video_triangle {
    border: 20px solid transparent;
    border-top: 20px solid #5d7591;
    display: block;
    margin: 0 auto 20px;
    height: 0;
    position: relative;
    width: 0;
}
.video_triangle:before {
    content: '';
    border: 20px solid transparent;
    border-top: 20px solid #7489a1;
    display: block;
    position: absolute;
    left: -20px;
    right: 0;
    margin: auto;
    top: 7px;
    height: 0;
    width: 0;
}
.video_img {
    width: 100%;
}
.video_img img {
    max-width: 100%;
}
#stage p {
    margin: 1em 0 1em 0;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: normal;
}
#stage div.thanks_dtl {
    margin: 60px 0 20px;
    border-radius: 10px;
}
#stage div.thanks_dtl_title {
    color: #022d6a;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    border: 4px solid #007ed2;
    border-radius: 10px;
    text-align: left;
}
#stage div.thanks_dtl_title .title_text-1 {
    display: inline-block;
    width: 20%;
    background: #007ed2;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 7% 0;
}
#stage div.thanks_dtl_title .title_text-2 {
  color: #3b3b3b;
    display: inline-block;
    text-align: left;
    font-weight: bold;
    padding: 8px 10px;
    margin: 0;
    width: 76%;
}
#stage div.thanks_dtl_title .title_text-2 span {
    background: linear-gradient(transparent 60%, #ffff66 60%);
}
#stage div.thanks_dtl_office {
    padding: 10px;
    border: 3px solid #007ed2;
    border-radius: 10px;
}
#stage p.tel {
    margin: 10px auto;
    padding: 5px 0;
    background: #007ed2;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -0.04em;
    line-height: 1.4;
    border-radius: 5px;
    text-align: center;
}
#stage p.thanks_call_num {
  color: #183b63;
  font-size: 8.3vw;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 0;
}
#stage p.thanks_call_num:before {
  content: "";
    background: url(../img/tel.png) top left/contain no-repeat;
    display: inline-block;
    width: 22px;
    height: 28px;
    margin: 0px 5px -2px 0;
}
#stage p.thanks_call_num a {
    color: #4071bd;
    font-weight: bold;
}
#stage div.thanks_dtl_office .office_text {
    font-weight: normal;
    color: #183b63;
}
#stage div.conversion {
    visibility: hidden;
}


@media screen and (min-width: 640px){
#stage p.thanks_call_num {
    font-size: 3vw;
}
#stage p.thanks_call_num:before{
  width: 34px;
  height: 40px;
}
}



@media screen and (min-width: 768px) {
.counter {
    max-width: 300px;
    top: 330px;
    left: 35px;
}
#space_answer {
    margin: 520px 0px 0 0px;
    min-height: 330px;
    padding: 20px 0 10px;
    position: relative;
}
}

@media screen and (max-width: 768px) {
.main_title {
    padding: 0 15px;
}
  .thanks_tel_info {
    margin: 20px 12px 24px;
  }
}

@media screen and (max-width: 420px) {
.counter {
    max-width: 200px;
    top: 215px;
    left: 35px;
}
#space_answer {
    margin: 335px 10px 0 10px;
    min-height: 330px;
    padding: 20px 0 10px;
    position: relative;
}
#personals {
    margin: 10px 10px 0 10px;
}
}

@media screen and (max-width: 380px) {
.counter {
    max-width: 170px;
    top: 200px;
    left: 30px;
}
#space_answer {
    margin: 295px 10px 0 10px;
    min-height: 330px;
    padding: 20px 0 10px;
    position: relative;
}
#personals {
    margin: 10px 10px 0 10px;
}
}

@media screen and (max-width: 374px) {
  .max374 {
    display: block;
  }

  div.title ul li .icon_q:before {
    left: -25px;
  }

  .button_list {
    width: 92%;
  }
}

@media screen and (max-width: 320px) {
  .main_title {
    left: 0;
    margin: auto;
    padding: 0 15px;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 20px;
}
  .counter {
    max-width: 140px;
    top: 160px;
  }
#space_answer {
    margin: 250px 10px 0 10px;
    min-height: 190px;
    padding: 20px 0 10px;
    position: relative;
}
div.title .title_hilight {
    font-size: 12px;
}
div.title ul li .icon_q:before {
    left: -32px;
    width: 19px;
    height: 22px;
}
div.title ul li .icon_q {
    display: inline-block;
    line-height: 22px;
    position: relative;
    text-align: left;
    vertical-align: top;
}
}
