@charset "UTF-8";

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

:root {
  --c-white-color: #fff;
  /* テキストカラー */
  --c-text-color: #282828;
  /* 全体背景色 */
  --c-background-color: #f0C5a6;
  /* 各ボタンカラー、入力項目の枠色等 */
  --c-accent-orange: #952200;
  /* あと○つ数字、サンクスページタイトル、電話番号枠、電話番号数字 */
  --c-accent-orange2: #d43e3f;
  /* 計算中タイトル＆サンクスドットカラー */
  --c-gray-color: #C4C4C4;
  /* 戻るボタン */
  --c-back-color: #B6B7B7;
  /* 入力項目背景色 */
  --c-input-bg-color: #fff9f0;
  /* 質問文マーカー */
  --bg-hilight: linear-gradient(transparent 60%, #ffffad 60%);
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

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

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-color);
  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%;
}

img {
  border-style: none;
  vertical-align: bottom;
}

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: 3px solid var(--c-accent-orange);
  border-radius: 5px;
  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

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

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

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

.office_name img {
  -webkit-backface-visibility: hidden;
  max-width: 50%;
}

.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: #f0C5a6 url(img/back_image.jpg) center top/640px auto no-repeat;
  overflow: hidden;
  padding-bottom: 40px;
  position: relative;
  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: #d33f3f;
  border: 3px solid var(--c-accent-orange);
  border-radius: 6px;
  box-shadow: 0 6px 0 var(--c-accent-orange);
  color: var(--c-white-color);
  cursor: pointer;
  display: block;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 12px 0;
  position: relative;
  text-align: center;
  top: 0;
  transition: 0.3s;
  width: 100%;
}

button:focus {
  outline-width: 0;
}

button:focus,
buttonactive,
button:hover {
  background: var(--c-accent-orange);
  box-shadow: 0 0px 0 var(--c-accent-orange);
  color: var(--c-white-color);
  top: 6px;
}

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

.back {
  background: var(--c-white-color);
  border-radius: 24px;
  bottom: -60px;
  display: inline-block;
  font-size: 1.2rem;
  margin: 0 0 0 -5px;
  opacity: 0;
  padding: 12px 20px;
  position: absolute;
  transition: 0.3s;
  visibility: hidden;
}

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

.back:hover {
  cursor: pointer;
}

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

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

li.col {
  float: left;
}

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

main contents

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

#space_answer {
  background: transparent;
  border-radius: 5px;
  margin: 40% 10px 0 10px;
  min-height: 190px;
  padding: 54px 0 10px;
  position: relative;
}

.contents_wrapper {
  background: var(--c-white-color);
  border-radius: 16px;
  padding: 20px 5px;
  position: relative;
  z-index: 0;
}

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

.space_count_box {
  left: -100px;
  margin: auto;
  position: absolute;
  right: 0;
  top: -30px;
  width: 80px;
}

.space_count_box:after {
  border: 15px solid transparent;
  border-left: 25px solid var(--c-white-color);
  bottom: 0;
  content: '';
  height: 0;
  left: auto;
  margin: auto;
  position: absolute;
  right: -21px;
  top: 0;
  width: 0;
}

#space_count {
  background: var(--c-white-color);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 2;
}

#space_count ul {
  overflow: hidden;
  width: 160px;
}

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

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

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

/* --------------------
ページャー（ドット）
-------------------- */

.status {
  background: var(--c-white-color);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  opacity: 1;
  padding: 0 16px 8px;
  position: relative;
  text-align: center;
  transition: 0.2s;
  z-index: 2;
}

.status.is-hide {
  display: none;
  opacity: 0;
}

.status li {
  font-size: 0;
  margin: 0 6px;
  overflow: hidden;
  padding-bottom: 6px;
  text-indent: 100%;
  white-space: nowrap;
}

.status li:before {
  background: #dedede;
  border: 2px solid #dedede;
  border-radius: 8px;
  content: '';
  display: block;
  height: 4px;
  width: 4px;
}

.status li.now {
  display: inline-block;
  opacity: 1;
  overflow: visible;
  text-indent: inherit;
}

.status li.now:before {
  background-color: #a0bfd9;
  border-color: #a0bfd9;
}

/*.status_num {
  font-size: 24px;
}*/

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

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%;
  margin-bottom: 5px;
  overflow: hidden;
  text-align: center;
}

div.title ul li .icon_q {
  display: inline-block;
  line-height: 1.8;
  position: relative;
  text-align: left;
  vertical-align: top;
  width:340px;
  padding: 0 0 0 30px;
  letter-spacing: -0.04em;
}

div.title ul li .icon_q:before {
  background: url(img/icon_q.png) left top/contain no-repeat;
  content: '';
  display: inline-block;
  height: 24px;
  left: -3px;
  overflow: hidden;
  position: absolute;
  top: 7px;
  width: 21px;
}

div.title ul li:first-child {
  height: 80px;
}

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

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

.title_inner {
  display: block;
  font-size: 2rem;
}

.caution_text {
  display: block;
  font-size: .8em;
  line-height: normal;
  margin-top: 4px;
}

div.title .title_hilight {
  background: var(--bg-hilight);
  display: inline;
}

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

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

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

.button_txt{
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  margin: 0 0 5px;
}

.button_list--full {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  padding: 0;
  width: 100%;
}

.button_list--full li {
  padding: 5px 5px 10px;
  width: 100%;
}

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

.col_debt_amount input {
  background: var(--c-input-bg-color);
  border: 4px solid var(--c-accent-orange);
  border-radius: 10px;
  display: inline-block;
  font-size: 1.8rem;
  padding: 0.8em 0;
  padding: 15px 20px;
  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;
}

#number_input em {
  align-items: center;
  display: flex;
  font-weight: 700;
  justify-content: center;
  margin: 0 3em 0.5em 0;
  text-align: center;
}

#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: 49% 10px 0 10px;
  min-height: 230px;
  padding: 12px 140px 20px;
  position: relative;
  z-index: 0;
}

#personals .title {
  border-bottom: 1px dashed var(--c-gray-color);
  font-size: 1.5rem;
  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;
}

#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_box {
  position: relative;
}

.select_box:after {
  background: url(img/icon_arrow.png) left top/contain no-repeat;
  border: none;
  content: '';
  display: block;
  height: 9px;
  overflow: hidden;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translate(0, -50%);
  width: 15px;
}

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

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

.title_result_text {
  border-radius: 20px;
  color: var(--c-white-color);
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 2px 0;
  text-align: center;
  width: 142.5px;
}

.title_result_text.before {
  background: #c9c9c9;
}

.title_result_text.after {
  background: #20bdd1;
}

#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;
}

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

thanks

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

#space_4 div.conversion {
  visibility: hidden;
}

#space_4 section {
  background: #fff;
  border-radius: 16px;
  margin: 49% 10px 0 10px;
  min-height: 230px;
  padding: 16px 120px 28px;
  position: relative;
}

#space_4 p {
  text-align: center;
}

.title_thanks {
  align-items: center;
  display: inline-block;
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
  text-align: center;
}

.title_thanks_text {
  background: var(--bg-hilight);
  color: var(--c-accent-orange2);
  font-size: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
}

.thanks_tel_info {
  border: 4px solid var(--c-accent-orange2);
  border-radius: 16px;
  margin: 20px 12px 24px;
  padding: 24px;
  text-align: center;
}

.thanks .tel {
  background: #EBEBEB;
  border-radius: 24px;
  display: inline-block;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5;
  padding: 8px 12px;
  width: 100%;
}

.thanks .tel em {
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: bold;
}

.thanks .thanks_call_num,
.thanks .thanks_call_num a {
  color: var(--c-accent-orange2);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  margin: 4px auto;
}

.thanks .thanks_call_desc {
  border-bottom: 1px dashed var(--c-gray-color);
  display: inline;
  font-size: 14px;
  line-height: 2.2;
  padding-bottom: 2px;
}

.thanks .thanks_last_text {
  font-size: 18px;
}

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