@charset "UTF-8";

:root {
  /* 大枠ページ数 */
  --space-length: 2;
  /* 質問ページ数 */
  --answer-space-length: 7;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

html,
body {
  font-family: sans-serif;
  height: 100%;
  margin: 0 auto;
  max-width: 650px;
  padding: 0 0;
  width: 100%;
  background-color: #eff5f8;
}

html {
  font-size: 62.5%;
}

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

body {
  -webkit-text-size-adjust: 100%;
  color: #111;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    YuGothic,
    'ヒラギノ角ゴ ProN W3',
    Hiragino Kaku Gothic ProN,
    Arial,
    'メイリオ',
    Meiryo,
    sans-serif;
}

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: #111;
  text-decoration: none;
}

p {
  margin: 0;
}

textarea {
  font-size: 100%;
}

img {
  border-style: none;
  image-rendering: -webkit-optimize-contrast;
  max-width: 100%;
}

hr {
  display: none;
}

em {
  font-style: normal;
}

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

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

.max374 {
  display: none;
}

/* 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;
}

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

.clearfix {
  display: inline-table;
}

/* --------------------
Utils
-------------------- */
.color_yellow {
  color: yellow;
}
.bold {
  font-weight: bold !important;
}

.hide {
  display: none !important;
}

.centering {
  text-align: center !important;
}

.righting {
  text-align: right !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt15 {
  margin-top: 15px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb15 {
  margin-bottom: 15px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

/***************************************
common
***************************************/

.loader {
  background: #fff;
  border-radius: 20px;
  height: 40px;
  left: calc(50% - 20px);
  padding: 10px;
  position: fixed;
  top: -100vh;
  width: 40px;
  z-index: 5;
  transition: top 0.25s 0s linear;
}

.loader.is-show {
  top: calc(50% - 20px);
}

.loader > img {
  height: auto;
  width: 100%;
}

.input_title {
  display: inline-block;
  padding: 8px 0;
  font-size: 15px;
}

.input_require {
  color: #f00000;
  font-size: 13px;
}

.input_sub_text {
  font-size: 13px;
  display: block;
}

.input_optional {
  color: #aaa;
}

.input {
  background: #fff;
  border: 1px solid #7e7e7e;
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-block;
  font-size: 1.6rem;
  height: 50px;
  padding: 0.8em;
  width: 100%;
}

.textarea {
  background: #fff;
  border: 1px solid #7e7e7e;
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
  padding: 0.4em;
  font-size: 1.6rem;
}

.select_box {
  position: relative;
}

.select_box:after {
  content: '';
  border: none;
  border-bottom: 3px solid #111;
  border-right: 3px solid #111;
  display: block;
  height: 6px;
  margin: auto;
  position: absolute;
  right: calc(3px + 10px);
  bottom: calc(50% - 3px);
  transform: rotate(45deg);
  width: 6px;
}

.select_box > select {
  background: #fff;
  border: 1px solid #7e7e7e;
  border-radius: 5px;
  box-shadow: none;
  font-size: 1.6rem;
  padding: 0.8em;
  height: 50px;
  width: 100%;
}

.wrapper {
  position: relative;
}

/***************************************
ヘッダー
***************************************/
.header {
  background: #fff;
  text-align: center;
}

.header__logo {
  height: auto;
  padding: 4px 0;
}

.header__title {
  background: #255094;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding: 10px 5px;
  text-align: center;
  width: 100%;
}

/***************************************
メインビジュアル
***************************************/
.main__fv {
  position: relative;
}
.main__fv-img-1 {
  width: 15%;
  position: absolute;
  top: 14%;
  left: 29%;
}
.main__fv-img-2 {
  width: 15%;
  position: absolute;
  top: 14%;
  left: 50.5%;
}
.main__fv-img-3 {
  width: 15%;
  position: absolute;
  top: 50%;
  left: 39.5%;
}
.main__fv-img-4 {
  width: 15%;
  position: absolute;
  top: 50%;
  left: 60.5%;
}

.main__fv-img-1 img {
  -webkit-animation: bigsmall1 4s linear infinite normal;
  animation: bigsmall1 4s linear infinite normal;
}

@-webkit-keyframes bigsmall1 {
  0% {
    transform: scale(0.96);
  }

  5% {
    transform: scale(0.96);
  }

  15% {
    transform: scale(1.1);
  }

  25% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(0.96);
  }
}

@keyframes bigsmall1 {
  0% {
    transform: scale(0.96);
  }

  5% {
    transform: scale(0.96);
  }

  15% {
    transform: scale(1.1);
  }

  25% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(0.96);
  }
}

.main__fv-img-2 img {
  -webkit-animation: bigsmall2 4s linear infinite normal;
  animation: bigsmall2 4s linear infinite normal;
}

@-webkit-keyframes bigsmall2 {
  0% {
    transform: scale(0.96);
  }

  30% {
    transform: scale(0.96);
  }

  40% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(0.96);
  }
}

@keyframes bigsmall2 {
  0% {
    transform: scale(0.96);
  }

  30% {
    transform: scale(0.96);
  }

  40% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(0.96);
  }
}

.main__fv-img-3 img {
  -webkit-animation: bigsmall3 4s linear infinite normal;
  animation: bigsmall3 4s linear infinite normal;
}

@-webkit-keyframes bigsmall3 {
  0% {
    transform: scale(0.96);
  }

  55% {
    transform: scale(0.96);
  }

  65% {
    transform: scale(1.1);
  }

  75% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(0.96);
  }
}

@keyframes bigsmall3 {
  0% {
    transform: scale(0.96);
  }

  55% {
    transform: scale(0.96);
  }

  65% {
    transform: scale(1.1);
  }

  75% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(0.96);
  }
}

.main__fv-img-4 img {
  -webkit-animation: bigsmall4 4s linear infinite normal;
  animation: bigsmall4 4s linear infinite normal;
}

@-webkit-keyframes bigsmall4 {
  0% {
    transform: scale(0.96);
  }

  80% {
    transform: scale(0.96);
  }

  90% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(0.96);
  }
}

@keyframes bigsmall4 {
  0% {
    transform: scale(0.96);
  }

  80% {
    transform: scale(0.96);
  }

  90% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(0.96);
  }
}

/***************************************
フッター
***************************************/
.footer {
  font-size: 1.2rem;
  margin: 20px 0 0 0;
  padding: 10px 0;
  width: 100%;
}

.footer__links {
  display: flex;
  justify-content: center;
}

.footer__link {
  flex-shrink: 0;
  margin: 0 20px;
}

/***************************************
スライド
***************************************/
.spaces_wrapper {
  position: relative;
  overflow: hidden;
  margin: -45px 15px 0;
}

.spaces {
  /*align-items: flex-start;*/
  display: flex;
  width: calc(100% * var(--space-length));
}

.space {
  width: calc(100% / var(--space-length));
}

.space_inner {
  padding-top: 35px;
  position: relative;
}

/*-------------------------------------
スライドアニメーション（main contents）
--------------------------------------*/

.spaces.is-space_personal {
  margin-left: calc(-100% * 1);
  transition: all 0.25s 0s ease;
}

/***************************************
answer contents
***************************************/

.answer_spaces_wrapper {
  overflow: hidden;
  /* background: #fff;
  border-radius: 10px;
  padding: 25px 15px; */
  background: #fff;
  border-radius: 10px;
}

.answer_spaces {
  display: flex;
  width: calc(100% * var(--answer-space-length));
}

.answer_space {
  position: relative;
  width: calc(100% / var(--answer-space-length));
  padding: 25px 15px;
}

.answer_space__head {
  background: #fff;
  padding: 5px 15px 15px 15px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 10px;
}

.answer_space__back {
  color: #7b7b7b;
  display: inline-block;
  font-size: 1.2rem;
  margin: 24px 0 0 -20px;
  padding: 12px 20px;
  cursor: pointer;
}

/*-------------------------------------
スライドアニメーション（answer contents）
--------------------------------------*/

.answer_spaces.is-scene1 {
  margin-left: 0;
  transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene2 {
  margin-left: calc(-100% * 1);
  transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene3 {
  margin-left: calc(-100% * 2);
  transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene4 {
  margin-left: calc(-100% * 3);
  transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene5 {
  margin-left: calc(-100% * 4);
  transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene6 {
  margin-left: calc(-100% * 5);
  transition: all 0.25s 0s ease;
}

.answer_spaces.is-scene7 {
  margin-left: calc(-100% * 6);
  transition: all 0.25s 0s ease;
}

/* --------------------
質問ステータス
-------------------- */
.ques_statuses_wrapper {
  width: 20%;
  min-width: 80px;
  background: #fff;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  position: absolute;
  top: 17px;
  left: 0;
}

.ques_statuses {
  display: flex;
  align-items: center;
  width: calc(100% * var(--answer-space-length));
}

.ques_status {
  box-sizing: border-box;
  padding: 4px 4px 8px 4px;
  text-align: center;
  width: calc(100% / var(--answer-space-length));
}

.ques_status__text {
  color: #111;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.ques_status__text--hilight {
  color: #0e9fdd;
}

.ques_status__text--hilight > em {
  font-size: 19px;
}

/*==============================
質問ステータスのスライド
==============================*/

.ques_statuses.is-scene1 {
  margin-left: 0;
  transition: all 0.25s 0s ease;
}

.ques_statuses.is-scene2 {
  margin-left: calc(-100% * 1);
  transition: all 0.25s 0s ease;
}

.ques_statuses.is-scene3 {
  margin-left: calc(-100% * 2);
  transition: all 0.25s 0s ease;
}

.ques_statuses.is-scene4 {
  margin-left: calc(-100% * 3);
  transition: all 0.25s 0s ease;
}

.ques_statuses.is-scene5 {
  margin-left: calc(-100% * 4);
  transition: all 0.25s 0s ease;
}

.ques_statuses.is-scene6 {
  margin-left: calc(-100% * 5);
  transition: all 0.25s 0s ease;
}

.ques_statuses.is-scene7 {
  margin-left: calc(-100% * 6);
  transition: all 0.25s 0s ease;
}

/* --------------------
質問文
-------------------- */
.ques_title_wrapper {
  margin-bottom: 10px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
}
.ques_title {
  display: flex;
  align-items: center;
  width: calc(100% * 7);
  color: #111;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.1;
  position: relative;
  margin: 0 auto;
  width: calc(100% * 7);
}

.que_title {
  box-sizing: border-box;
  padding: 10px 8px 10px 15px;
  text-align: center;
  width: calc(100% / 7);
}

.que_title_inner {
  color: #111;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
  padding-left: 34px;
  position: relative;
  text-align: left;
}

.que_title_icon:before {
  background: url(../img/icon_q.webp) left top/contain no-repeat;
  content: '';
  display: inline-block;
  height: 25px;
  left: 0px;
  top: calc(50% - 15px);
  overflow: hidden;
  position: absolute;
  width: 25px;
}

.que_title_caution_text {
  font-size: 14px;
  font-weight: normal;
}

/*==============================
質問文のスライド
==============================*/
.ques_title.is-scene1 {
  margin-left: 0;
  transition: all 0.25s 0s ease;
}

.ques_title.is-scene2 {
  margin-left: calc(-100% * 1);
  transition: all 0.25s 0s ease;
}

.ques_title.is-scene3 {
  margin-left: calc(-100% * 2);
  transition: all 0.25s 0s ease;
}

.ques_title.is-scene4 {
  margin-left: calc(-100% * 3);
  transition: all 0.25s 0s ease;
}

.ques_title.is-scene5 {
  margin-left: calc(-100% * 4);
  transition: all 0.25s 0s ease;
}

.ques_title.is-scene6 {
  margin-left: calc(-100% * 5);
  transition: all 0.25s 0s ease;
}

.ques_title.is-scene7 {
  margin-left: calc(-100% * 6);
  transition: all 0.25s 0s ease;
}

.button_list__item {
  padding: 5px 5px 10px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

/* --------------------
ボタン
-------------------- */
.button {
  background: #255094;
  border: 2px solid #142d81;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 400px;
  line-height: 1.2;
}

.button:hover {
  background: #0e236a;
}

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

最終画面（フォーム）

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

.personal_space_wrapper {
  height: 100%;
  position: relative;
  background-color: #fff;
  padding: 25px 15px;
  border-radius: 10px;
}

.personal_space {
  font-size: 16px;
}

.personal_space__title {
  text-align: center;
}

.personal_space__subtitle {
  font-weight: 700;
  margin: 10px 0 0 0;
  line-height: 1.4;
  padding: 0 0 12px;
  text-align: center;
}
.personal_form {
  max-width: 400px;
  margin: 0 auto;
}
.personal_form__input_group {
  margin: 15px 0 15px 0;
}

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

.personal_form__input_phone_group > .input,
.personal_form__input_phone_group > .select_box {
  width: 27%;
}

.personal_form__input_date_group {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  -moz-column-gap: 4%;
  column-gap: 4%;
}
.personal_form__input_date_group > .select_box {
  width: 33%;
}

.personal_form__input_time_group > .select_box {
  width: 70%;
}

.personal_form__separate {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
}

.personal_form__bottom {
  padding-top: 20px;
  text-align: center;
}

/* --------------------
CTAボタン
-------------------- */
.submit_button_wrapper {
  width: 90%;
  max-width: 400px;
  margin: 0 auto 15px auto;
}
.submit_button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  -moz-column-gap: 5%;
  column-gap: 5%;
  position: relative;
  color: #fff;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.submit_button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #ffaaae;
  border-radius: 10rem;
  -webkit-animation: auraBtn 2s ease-out 1s infinite;
  animation: auraBtn 2s ease-out 1s infinite;
}

.submit_button span {
  width: 100%;
  height: 6rem;
  display: block;
  line-height: 6rem;
  background: #ff5555;
  color: #fff;
  text-align: center;
  border-radius: 10rem;
  font-weight: bold;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.submit_to {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.submit_to__text {
  position: relative;
}

.submit_to__text:before {
  background: url(../img/to_button_left.webp) no-repeat;
  background-size: 100% 100%;
  content: '';
  width: 22px;
  height: 22px;
  position: absolute;
  top: -1px;
  left: -30px;
}

.submit_to__text:after {
  background: url(../img/to_button_right.webp) no-repeat;
  background-size: 100% 100%;
  content: '';
  width: 22px;
  height: 22px;
  position: absolute;
  top: -1px;
  right: -30px;
}

.submit_after_text {
  font-size: 12px;
  text-align: center;
}

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

アニメーション

***************************************/
@-webkit-keyframes auraBtn {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  90% {
    opacity: 0.1;
  }
  to {
    transform: scale(1.2, 1.5);
    opacity: 0;
  }
}

@keyframes auraBtn {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  90% {
    opacity: 0.1;
  }
  to {
    transform: scale(1.2, 1.5);
    opacity: 0;
  }
}
