@charset "UTF-8";
/* CSS Document */
/* SP画面用のスタイルシートになります */
/* ここからが「共通部分」のスタイルシートになります。
-------------------------------------------------------------- */
a:hover {
  text-decoration: none;
  opacity: 1;
}

html, body {
  min-width: 320px;
}

/* --------------------------------------------------
	改行
-------------------------------------------------- */
.spBreak {
  display: block;
}

.pcBreak {
  display: none;
}

/* ここまでが「共通部分」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「.header」のスタイルシートになります。
-------------------------------------------------------------- */
.header {
  margin: 0 0 18px;
}

.futureTimeline .header {
  margin: 0 0 30px;
}

.header h1 {
  margin: 0;
  padding: 0 16px;
  width: 100%;
}

.header .titleBox{
  margin: 0;
}
.header .titleBox img{
  width: 105px;
}

.header .lifeplanLogo img{
  width: 150px;
}

nav {
  font-size: 16px;
}

nav ul {
  display: block;
  padding: 0;
  width: 100%;
  background-size: 260px auto;
}

.ageCnt nav ul {
  background-image: url("../image/common/bg_step_01_sp.png");
}

.genderCnt nav ul {
  background-image: url("../image/common/bg_step_02_sp.png");
}

.jobCnt nav ul {
  background-image: url("../image/common/bg_step_03_sp.png");
}

.familyCnt nav ul {
  background-image: url("../image/common/bg_step_04_sp.png");
}

.assetCnt nav ul {
  background-image: url("../image/common/bg_step_05_sp.png");
}

nav li {
  display: none;
  padding: 16px 10px 19px;
}

nav li:nth-child(1), nav li:nth-child(5) {
  margin: 0;
}

.ageCnt nav li:nth-child(1),
.genderCnt nav li:nth-child(2),
.jobCnt nav li:nth-child(3),
.familyCnt nav li:nth-child(4),
.assetCnt nav li:nth-child(5) {
  display: block;
}

/* ここまでが「.header」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「btn」のスタイルシートになります。
-------------------------------------------------------------- */
.btnList {
  margin: 18px 0 0;
}

.btnStart{
  width: calc(100% - 32px);
}

.btnPrimary {
  width: 343px;
  height: 50px;
}

.btnBack {
  padding: 0 0 0 14px;
}

.btnBack:not(:only-child) {
  position: relative;
  top: auto;
  left: auto;
  margin: 28px 0 0;
}

.btnNext {
  margin: 30px 0 0;
}

.btnClose {
  top: 25px;
  right: 14px;
}

.btnEdit {
  width: 100%;
}

.btnEdit span {
  display: none;
}

.btnEditWrap {
  padding: 15px 16px;
}

.deleteBtn{
  position: relative;
}

.deleteBtn button{
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.flexibleBox[data-set="1"] .flexibleBoxItem:nth-child(1) .deleteBtn{
  position: absolute;
  top: 60%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flexibleBox[data-set="2"] .flexibleBoxItem:nth-child(1) .deleteBtn{
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flexibleBox[data-set="2"] .flexibleBoxItem:nth-child(2) .deleteBtn{
  position: absolute;
  top: 60%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flexibleBox[data-set="3"] .flexibleBoxItem:nth-child(1) .deleteBtn{
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flexibleBox[data-set="3"] .flexibleBoxItem:nth-child(2) .deleteBtn{
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flexibleBox[data-set="3"] .flexibleBoxItem:nth-child(3) .deleteBtn{
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}



.addBtn {
  display: block;
  margin: 5px 0 0 0;
}

.addBtn:before {
  display: block;
  padding: 2px 0 11px;
  width: auto;
  letter-spacing: normal;
  font-size: 14px;
}

/* ここまでが「btn」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「form」のスタイルシートになります。
-------------------------------------------------------------- */
.formBox > div {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.formBox dt {
  width: 76px;
}

.flexibleBox:not([data-set="0"]) .addBtn:before {
  display: none;
}

.flexibleBox[data-set="0"][data-target="children"] {
  padding-top: 12px;
}

.flexibleBox[data-set="0"]:first-child {
  padding-top: 12px;
}

.checkBox {
  margin: 13px 0 0;
}

.inputBox {
  font-size: 14px;
}

.inputBox input[type="number"],
.inputBox input[type="text"] {
  width: 70px;
}

.inputBox span {
  margin: 0 0 0 5px;
  font-size: 14px;
}

.yieldBox div{
  justify-content: flex-start;
}

.inputBox #yield{
  width: 180px;
}

.rateBox {
  margin: 0 0 0 14px;
}

.rateBox li:not(:nth-child(1)) {
  margin: 0 0 0 10px;
}

.selectBox {
  width: 100%;
}

.selectBox select {
  font-size: 16px;
}

/* ここまでが「form」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「#top」のスタイルシートになります。
-------------------------------------------------------------- */
#top {
  padding: 80px 0 0;
}

#top h2 .titleBox{
  display: block;
  width: 300px;
}

#top h2 em {
  display: block;
  margin-bottom: 10px;
}

#top h2 picture {
  display: block;
  margin-left: 0;
}

#top h2 span {
  margin: 30px 0 0;
  padding: 13px;
  font-size: 16px;
}

#top p {
  margin: 40px 0 0;
}

/* ここまでが「#top」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「.question」のスタイルシートになります。
-------------------------------------------------------------- */
.question {
  width: 100%;
}

.question h2 {
  margin: 0 0 22px;
  font-size: 24px;
}

.question .inputBox input[type="text"] {
  width: 80px;
}

.question .qBox {
  padding: 20px 0;
}

.question .qBox .formBox ~ .formBox {
  margin-top: 26px;
}

.question .qBox ul {
  margin: -10px 0 0;
  padding: 0 8px;
  width: 100%;
}

.question .qBox li {
  margin: 10px 0 0;
  padding: 0 5px;
  width: 50%;
}

.question .qBox button {
  line-height: 1.1;
}

.question .qBox button.btnPrimary {
  width: 100%;
}

.question .qBox .checkBox {
  width: 100%;
}

.question .qBox > p.dispAverage {
  margin: 11px 0 0;
}

/* ここまでが「#question」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「#futureTimeline」のスタイルシートになります。
-------------------------------------------------------------- */
.chronology .formBox {
  margin: 31px auto 0;
  width: 343px;
}

.chronology .formBox dt {
  margin-bottom: 7px;
  width: 100%;
  text-align: center;
}

.chronology .btnList {
  padding: 0;
}

.stepList {
  margin: 68px 0 0;
  padding: 20px 14px;
}

.stepList h3 {
  font-size: 20px;
}

.stepList ul {
  display: block;
  margin: 0 auto;
  width: 343px;
}

.stepList li {
  margin: 10px 0 0;
  padding: 0;
  width: 100%;
}

.stepList .btnWhite {
  position: relative;
  font-size: 16px;
}

.stepList .btnWhite:before {
  position: absolute;
  top: 50%;
  left: 12px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  margin: 0;
  width: 28px;
  height: 28px;
}

.tabBox {
  display: block;
  padding: 0 16px 30px;
}

.tabBox a{
  padding: 5px 0;
}

.tabBox h2 {
  font-size: 26px;
}

.tabBox ul {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: bold;
}

.tabBox li {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 0 3px;
}
.chartArea {
  margin: 20px 0 0;
}

.chartArea .chartBox {
  padding: 0 14px 0 30px;
}

.chartArea .chartBox:before {
  left: 14px;
  width: 12px;
  background-size: 12px auto;
  z-index: 1;
}

.chartArea .legendBox {
  margin: 6px 0 0;
}
.chartArea .legendBox > div {
  display: block;
  padding: 21px 14px 17px;
  width: 100%;
}

.chartArea .legendBox dl {
  margin: 0;
}

.chartArea .legendBox dl div:not(:nth-child(1)) {
  margin: 19px 0 0;
}

.chartArea .legendBox dt {
  margin: 0 10px 0 0;
}

.chartArea .legendBox dd {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.chartArea .legendBox ul {
  margin: -6px 0 0;
  font-size: 11px;
}

.chartArea .legendBox ul.incomes li:nth-child(3n+1) {
  width: 93px;
}

.chartArea .legendBox ul.incomes li:nth-child(3n+2) {
  width: 82px;
}

.chartArea .legendBox ul.incomes li:nth-child(3n) {
  width: calc(100% - 175px);
}

.chartArea .legendBox ul.incomes li:not(:nth-child(1)) {
  margin: 6px 0 0;
}

.chartArea .legendBox ul.spending li:nth-child(1), .chartArea .legendBox ul.spending li:nth-child(4), .chartArea .legendBox ul.spending li:nth-child(6) {
  width: 104px;
}

.chartArea .legendBox ul.spending li:nth-child(2) {
  width: 66px;
}

.chartArea .legendBox ul.spending li:nth-child(3), .chartArea .legendBox ul.spending li:nth-child(5), .chartArea .legendBox ul.spending li:nth-child(7) {
  width: calc(100% - 170px);
}

.chartArea .legendBox li {
  margin: 6px 0 0;
  padding: 0 0 0 17px;
}

.chartArea .legendBox li:before {
  width: 12px;
  height: 12px;
}

.chartArea .legendBox p {
  margin: 15px 0 0 calc(3em + 10px);
  padding: 0 0 0 29px;
  width: auto;
  text-align: left;
}

/* ここまでが「#futureTimeline」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「フッター」のスタイルシートになります。
-------------------------------------------------------------- */
.footer {
  margin: 80px 0 0;
  min-width: 320px;
}

.footerTxt {
  padding: 24px 16px 32px;
}

.footerCopy {
  padding: 24px 20px;
  font-size: 12px;
}

/* ここまでが「フッター」のスタイルシートになります。
-------------------------------------------------------------- */
/* ここからが「.modal」のスタイルシートになります。
-------------------------------------------------------------- */
.modal {
  padding: 17px 0 80px;
  width: calc(100% - 32px);
  border: none;
  border-radius: 12px;
}

.safari .modalWrap {
  height: calc(var(--vh, 1vh) * 100);
}

.modalWrap#toolTip .modal {
  padding: 25px 0;
  max-width: calc(100% - 32px);
  width: calc(100% - 32px);
}

.modalWrap#toolTip .modalContent {
  padding: 0 16px;
}

.modalWrap#toolTip h2 {
  margin-bottom: 13px;
}

.modalInner {
  max-height: calc(100vh - 141px);
}

.safari .modalInner {
  max-height: calc(var(--vh, 1vh) * 100 - 141px);
}

.modalContent {
  padding: 0 14px 30px;
}

.modal h2 {
  margin: 0;
  padding: 0 0 13px;
  font-size: 24px;
}

.modal h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}

.modal h3 ~ h3 {
  margin-top: 32px;
}

.modal .formBox {
  padding: 0;
}

.modalBody .formBox div.hide + div{
  border-top: 1px solid #E5E5E5;
}

.modal .formBox > div {
  position: relative;
}

.modal .formBox > div.closeWrap {
  width: 270px;
}

.modal .spFlexWrap dt{
  margin-bottom: 10px;
}

.modal .formBox > div.closeWrap[data-type]:not([data-type="partner"]) dt {
  margin: -2px 0 10px;
  line-height: 1.3;
  width: 100%;
}

.modal .formBox > div.closeWrap[data-type]:not([data-type="partner"]) .inputBox {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 130px;
}

.modal .formBox > div.closeWrap[data-type="payment"] .inputBox:nth-child(3) > .txt3 {
  width: 3em;
}

.modal .formBox > div.closeWrap[data-type="payment"] .inputBox:nth-child(7) > .txt2 {
  width: 2em;
}

.modal .formBox > div.spFlexWrap:not(.hide) {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.modal .formBox > div.spFlexWrap:not(.hide) dt {
  line-height: 1.3;
  width: 100%;
}

.modal .formBox > div.spFlexWrap:not(.hide) .inputBox {
  width: 150px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.modal .formBox dt {
  padding: 0;
  width: 136px;
  letter-spacing: normal;
  font-size: 14px;
}

.modal .formBox dd.flexWrap {
  position: relative;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.modal .formBox dd .rateBox {
  display: none;
}

.modal .rateBox {
  display: none;
}

.modal .inputBox {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.modal .inputBox input[type="number"],
.modal .inputBox input[type="text"] {
  padding: 0 8px 0 0;
  width: 76px;
}

.modal .inputBox input[type="number"].spInputShort, .modal .inputBox input[type="number"].inputShort,
.modal .inputBox input[type="text"].spInputShort,
.modal .inputBox input[type="text"].inputShort {
  width: 60px;
}

.modal .inputBox input[type="number"].spInputShort.spInputNormal, .modal .inputBox input[type="number"].inputShort.spInputNormal,
.modal .inputBox input[type="text"].spInputShort.spInputNormal,
.modal .inputBox input[type="text"].inputShort.spInputNormal {
  width: 76px;
}

.modal .inputBox span {
  margin: 0 0 0 5px;
  width: auto;
}

.modal .btnWhite {
  font-size: 14px;
}

.modal .edutItem .inputBox{
  margin-right: 15px;
}

/* ここまでが「.modal」のスタイルシートになります。
-------------------------------------------------------------- */
