@charset "utf-8";
/*------------------------------------------------
  ライフプランニング
------------------------------------------------*/

/*========== マイホームのメリットとは？ ==========*/

.merit-title {
  margin-bottom: 30px;
  padding: 10px 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  background-color: #000064;
}

.merit-inner {
  padding: 0 15px;
}

.merit-content {
  margin-bottom: 30px;
}

.merit-content::after {
  content: "";
  display: block;
  width: 70%;
  height: 1px;
  margin: 30px auto 0;
  border-top: 1px dotted #ccc;
}

.merit-catch {
  margin-bottom: 30px;
  font-size: 2.5rem;
  line-height: 1.25;
  text-align: center;
}

.merit-lead {
  margin-bottom: 30px;
  font-size: 2rem;
  line-height: 1.25;
  text-align: center;
}

.merit-text {
  text-align: center;
}

.merit-image {
  width: 100%;
  margin-bottom: 30px;
}

.merit-list,
.merit-list-alt {
  width: 100%;
  margin-bottom: 30px;
}

.merit-item:not(:last-of-type) {
  margin-bottom: 30px;
}

.merit-item-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-align: center;
}

.merit-item-text {
  margin-bottom: 15px;
  text-align: justify;
}

.merit-item-text .highlight {
  color: #933;
}

.merit-item-image {
  width: 100%;
}


/*----- ローン計算はこちら -----*/

/*
.loan-calc-button > input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 290px;
  height: 50px;
  margin: 10px auto;
  padding: 10px;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  background-color: #333;
}
*/

.loan-calc-button-wrapper {
  width: 100%;
  height: 250px;
  background-color: #fff799;
  padding: 15px;
  position: relative;
  margin-top: 50px;
}

.loan-calc-button {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 3px solid #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.loan-calc-button::before {
  content: "";
  display: block;
  background-image: url(../../images/life-planning/loan_calc_button_pc.png);
  background-size: contain;
  width: 250px;
  height: 200px;
  position: absolute;
  right: 50%;
  top: -15px;
  margin-right: -150px;
}

.loan-calc-button-inner {
  width: 100%;
  position: relative;
  margin-top: 30px;
}

.loan-calc-button-inner::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent transparent #fff transparent;
  position: absolute;
  bottom: 5px;
  right: 5px;
  z-index: 1000000;
}

.loan-calc-button-inner::after {
  content: "";
  display: block;
  background-image: url(../../images/life-planning/loan_calc_button_triangle.png);
  background-size: contain;
  width: 50px;
  height: 25px;
  position: absolute;
  right: 10px;
  top: -30px;
  margin-right: -25px;
}


.loan-calc-button-inner > input {
  width: 100%;
  height: 50px;
  margin: auto;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  padding: 10px;
  background-color: #1d2088;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}

@media print, screen and (min-width: 769px) {
  .loan-calc-button-wrapper {
    width: 1000px;
    height: 250px;
    padding: 25px;
    margin-top: 100px;
  }
  .loan-calc-button {
    align-items: center;
  }
  .loan-calc-button::before {
    width: 334px;
    height: 209px;
    left: 20px;
    top: -5px;
  }
  .loan-calc-button-inner {
    width: 500px;
    height: 90px;
    margin-right: 40px;
  }
  .loan-calc-button-inner::after {
    width: 74px;
    height: 39px;
    right: 50%;
    top: -45px;
    margin-right: -27px;
  }
  .loan-calc-button-inner::before{
    border-width: 0 0 15px 15px;
    bottom: 10px;
    right: 10px;
  }
  .loan-calc-button-inner > input {
    font-size: 3rem;
    width: 500px;
    height: 90px;
  }
  .loan-calc-button-inner:hover {
    transition: all 0.3s;
    top: 4px;
    left: 4px;
  }
  .loan-calc-button-inner:hover > input {
    box-shadow: none;
  }
}

/*----- 貯蓄を増やすモデルケース -----*/

.merit-case {
  margin-bottom: 30px;
}

.merit-case::after {
  content: "";
  display: block;
  width: 70%;
  height: 1px;
  margin: 30px auto 0;
  border-top: 1px dotted #ccc;
}

.merit-case-title {
  margin-bottom: 30px;
  padding: 5px;
  font-size: 1.8rem;
  text-align: center;
  border: 3px solid #eee;
}

.merit-case-item:not(:last-of-type) {
  margin-bottom: 50px;
}

.merit-case-item-image {
  width: 100%;
  margin-bottom: 15px;
}

.merit-case-item-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.merit-case-item-text {
  margin-bottom: 15px;
  text-align: justify;
}

.merit-case-compare {
  margin-top: 30px;
}

.merit-case-compare-title {
  margin-bottom: 10px;
  padding: 5px;
  font-size: inherit;
  text-align: center;
}

.merit-case-compare-inner:not(:last-of-type) {
  margin-bottom: 30px;
}

.merit-case-compare-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
}

.merit-case-compare-list:last-of-type::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 10px 0;
  border-top: 1px dotted #333;
}

.merit-case-compare-list-label,
.merit-case-compare-list-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 2.5px);
  padding: 5px;
  text-align: center;
}

.merit-case-compare-list-content {
  border: 1px solid #333;
}

.merit-case-compare-list-label:not(:last-of-type),
.merit-case-compare-list-content:not(:last-of-type) {
  margin-bottom: 5px;
}

.merit-case-compare-inner:nth-of-type(1) .merit-case-compare-title,
.merit-case-compare-inner:nth-of-type(1) .merit-case-compare-list-label {
  color: #fff;
  background-color: #aaa;
}

.merit-case-compare-inner:nth-of-type(2) .merit-case-compare-title,
.merit-case-compare-inner:nth-of-type(2) .merit-case-compare-list-label {
  color: #fff;
  background-color: #002e73;
}

/*----- まとめ ～家を持つべき5つの理由～ -----*/

.merit-result {
  margin-bottom: 30px;
}

.merit-result-title {
  margin-bottom: 30px;
  padding: 10px 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  background-color: #000064;
}

.merit-result-catch {
  margin-bottom: 30px;
  font-size: 2.5rem;
  line-height: 1.25;
  text-align: center;
}

.merit-result-item:not(:last-of-type) {
  margin-bottom: 50px;
}

.merit-result-item-image {
  display: block;
  width: 50%;
  max-width: 210px;
  margin: 0 auto 10px;
}

.merit-result-item-title {
  margin-bottom: 5px;
  font-size: 1.8rem;
  text-align: center;
}

.merit-result-item-text {
  text-align: justify;
}

@media print, screen and (min-width: 640px) {
  .merit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .merit-list .merit-item:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .merit-list-alt .merit-item:nth-of-type(odd) {
    flex-direction: row-reverse;
  }

  .merit-item-inner {
    width: calc(50% - 15px);
  }

  .merit-item-image {
    width: calc(50% - 15px);
  }

  /* 一時使用 */
  .merit-item-inner.full-size {
    width: 100%;
  }

  .full-size .merit-item-text {
    text-align: center;
  }

  /*----- 貯蓄を増やすモデルケース -----*/

  .merit-case-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .merit-case-item-image {
    width: calc(50% - 15px);
  }

  .merit-case-item-inner {
    width: calc(50% - 15px);
  }

  /*----- まとめ ～家を持つべき5つの理由～ -----*/

  .merit-result-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .merit-result-item {
    width: calc(50% - 15px);
  }

  .merit-result-item:not(:last-of-type) {
    margin-bottom: 0;
  }

  .merit-result-item:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 50px;
  }
}

@media print, screen and (min-width: 769px) {
  .merit-title {
    margin-bottom: 100px;
    padding: 15px 0;
    font-size: 2.4rem;
  }

  .merit-inner {
    width: 1000px;
    margin: auto;
    padding: 0;
  }

  .merit-content {
    margin-bottom: 100px;
  }

  .merit-content::after {
    margin: 100px auto 0;
  }

  .merit-catch {
    margin-bottom: 50px;
    font-size: 3.5rem;
  }

  .merit-lead {
    margin-bottom: 50px;
    font-size: 3rem;
  }

  .merit-text {
    font-size: 1.8rem;
    line-height: 2.5;
  }

  .merit-image {
    margin-bottom: 50px;
  }

  .merit-list,
  .merit-list-alt {
    margin-bottom: 50px;
  }

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

  .merit-item:not(:last-of-type) {
    margin-bottom: 100px;
  }

  .merit-list .merit-item:nth-of-type(even),
  .merit-list-alt .merit-item:nth-of-type(odd) {
    flex-direction: row;
  }

  .merit-list .merit-item:nth-of-type(odd),
  .merit-list-alt .merit-item:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .merit-item-inner {
    width: 50%;
    padding: 0 30px;
  }

  .merit-item-title {
    margin-bottom: 50px;
    font-size: 2.4rem;
  }

  .merit-item-text {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 2;
  }

  .merit-item-image {
    width: 50%;
  }

  /*----- 貯蓄を増やすモデルケース -----*/

  .merit-case {
    margin-bottom: 100px;
    padding: 0;
  }

  .merit-case::after {
    margin: 100px auto 0;
  }

  .merit-case-title {
    margin-bottom: 50px;
    padding: 5px;
    font-size: 2.4rem;
  }

  .merit-case-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .merit-case-item:not(:last-of-type) {
    margin-bottom: 100px;
  }

  .merit-case-item-image {
    width: calc(50% - 30px);
    margin-bottom: 0;
  }

  .merit-case-item-inner {
    width: 50%;
  }

  .merit-case-item-title {
    margin-bottom: 15px;
    font-size: 2.4rem;
  }

  .merit-case-item-text {
    margin-bottom: 15px;
  }

  .merit-case-compare {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 25px;
  }

  .merit-case-compare-title {
    width: 100%;
  }

  .merit-case-compare-inner {
    width: calc(50% - 5px);
  }

  .merit-case-compare-inner:not(:last-of-type) {
    margin-bottom: 0;
  }

  .merit-case-compare-list {
    font-size: 1.3rem;
  }

  .merit-case-compare-list-label,
  .merit-case-compare-list-content {
    width: calc(50% - 5px);
    padding: 5px;
  }

  .merit-case-compare-list-label:not(:last-of-type),
  .merit-case-compare-list-content:not(:last-of-type) {
    margin-bottom: 10px;
  }

  .merit-case-compare-list-label-expande {
    height: 50px;
  }

  /*----- まとめ ～家を持つべき5つの理由～ -----*/

  .merit-result {
    margin-bottom: 100px;
    padding: 0;
  }

  .merit-result-title {
    margin-bottom: 50px;
    padding: 15px 0;
    font-size: 2.4rem;
  }

  .merit-result-catch {
    margin-bottom: 50px;
    font-size: 3.5rem;
  }

  .merit-result-list {
    display: block;
  }

  .merit-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 75px;
  }

  .merit-result-item:not(:last-of-type) {
    margin-bottom: 0;
  }

  .merit-result-item:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 0;
  }

  .merit-result-item:not(:last-of-type) {
    margin-bottom: 50px;
  }

  .merit-result-item-image {
    width: 210px;
    margin: 0;
  }

  .merit-result-item-inner {
    width: calc(100% - 210px - 50px);
  }

  .merit-result-item-title {
    margin-bottom: 10px;
    font-size: 2.4rem;
  }

  .merit-result-item-text {
    font-size: 1.8rem;
    line-height: 1.75;
  }
}

/*========== 知っておくべき住宅購入の知識とは？ ==========*/

.knowledge-title {
  margin-bottom: 30px;
  padding: 10px 0;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  background-color: #7ecef4;
}

.knowledge-inner {
  padding: 0 15px;
}

.knowledge-content {
  margin-bottom: 30px;
}

.knowledge-content::after {
  content: "";
  display: block;
  width: 70%;
  height: 1px;
  margin: 30px auto 0;
  border-top: 1px dotted #ccc;
}

.knowledge-catch {
  margin-bottom: 30px;
  font-size: 2.5rem;
  line-height: 1.25;
  text-align: center;
}

.knowledge-catch span {
  font-size: .8em;
}

.knowledge-lead {
  margin-bottom: 30px;
  font-size: 2rem;
  line-height: 1.25;
  text-align: center;
}

.knowledge-text {
  text-align: center;
}

.knowledge-image {
  width: 100%;
  margin-bottom: 30px;
}

.knowledge-list,
.knowledge-list-alt {
  width: 100%;
  margin-bottom: 30px;
}

.knowledge-item:not(:last-of-type) {
  margin-bottom: 30px;
}

.knowledge-item-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-align: center;
}

.knowledge-item-text {
  margin-bottom: 15px;
  text-align: justify;
}

.knowledge-item-text .highlight {
  color: #933;
}

.knowledge-item-image {
  width: 100%;
}

/*----- 年齢を重ねてからのご購入も、LifeGateにお任せください！ -----*/

.knowledge-care {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
  padding: 30px;
  background-image: url(../../images/life-planning/background_knowledge-care_01.jpg);
  background-position: center;
  background-size: cover;
}

.knowledge-care-flat35 {
  background-image: url(../../images/life-planning/background_knowledge-care_02.jpg);
}

.knowledge-care-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-align: center;
}

.knowledge-care-text {
  text-align: center;
}

.knowledge-care-item {
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  color: #fff;
  text-align: center;
  text-shadow: rgba(0, 0, 0, .5) 0 3px 3px;
  border-radius: 5px;
  background-color: #32578e;
}

/*----- まとめ ～知っておくべき住宅ローンの4つのルール～ -----*/

.knowledge-result {
  margin-bottom: 30px;
}

.knowledge-result-title {
  margin-bottom: 30px;
  padding: 10px 0;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  background-color: #7ecef4;
}

.knowledge-result-catch {
  margin-bottom: 30px;
  font-size: 2.5rem;
  line-height: 1.25;
  text-align: center;
}

.knowledge-result-list {
  margin-bottom: 50px;
}

.knowledge-result-item:not(:last-of-type) {
  margin-bottom: 50px;
}

.knowledge-result-item-image {
  display: block;
  width: 50%;
  max-width: 210px;
  margin: 0 auto 10px;
}

.knowledge-result-item-title {
  margin-bottom: 5px;
  font-size: 1.8rem;
  text-align: center;
}

.knowledge-result-item-text {
  text-align: justify;
}

.knowledge-result-subcontent {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
  padding: 50px 30px;
  background-position: center;
  background-size: cover;
}

.knowledge-result-subcontent:nth-of-type(1) {
  background-image: url(../../images/life-planning/background_knowledge-result_01.jpg);
}

.knowledge-result-subcontent:nth-of-type(2) {
  background-image: url(../../images/life-planning/background_knowledge-result_02.jpg);
}

.knowledge-result-subcontent-title {
  margin-bottom: 30px;
  font-size: 1.8rem;
  text-align: center;
}

.knowledge-result-subcontent-text {
  text-align: center;
}

@media print, screen and (min-width: 640px) {
  .knowledge-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .knowledge-list .knowledge-item:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .knowledge-list-alt .knowledge-item:nth-of-type(odd) {
    flex-direction: row-reverse;
  }

  .knowledge-item-inner {
    width: calc(50% - 15px);
  }

  .knowledge-item-image {
    width: calc(50% - 15px);
  }

  /*----- まとめ ～知っておくべき住宅ローンの4つのルール～ -----*/

  .knowledge-result-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .knowledge-result-item {
    width: calc(50% - 15px);
  }

  .knowledge-result-item:not(:last-of-type) {
    margin-bottom: 0;
  }

  .knowledge-result-item:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 50px;
  }
}

@media print, screen and (min-width: 769px) {
  .knowledge-title {
    margin-bottom: 100px;
    padding: 15px 0;
    font-size: 2.4rem;
  }

  .knowledge-inner {
    width: 1000px;
    margin: auto;
    padding: 0;
  }

  .knowledge-content {
    margin-bottom: 100px;
  }

  .knowledge-content::after {
    margin: 100px auto 0;
  }

  .knowledge-catch {
    margin-bottom: 50px;
    font-size: 3.5rem;
  }

  .knowledge-lead {
    margin-bottom: 50px;
    font-size: 3rem;
  }

  .knowledge-text {
    font-size: 1.8rem;
    line-height: 2.5;
  }

  .knowledge-image {
    margin-bottom: 50px;
  }

  .knowledge-list,
  .knowledge-list-alt {
    margin-bottom: 50px;
  }

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

  .knowledge-item:not(:last-of-type) {
    margin-bottom: 100px;
  }

  .knowledge-list .knowledge-item:nth-of-type(even),
  .knowledge-list-alt .knowledge-item:nth-of-type(odd) {
    flex-direction: row;
  }

  .knowledge-list .knowledge-item:nth-of-type(odd),
  .knowledge-list-alt .knowledge-item:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .knowledge-item-inner {
    width: 50%;
    padding: 0 30px;
  }

  .knowledge-item-title {
    margin-bottom: 50px;
    font-size: 2.4rem;
  }

  .knowledge-item-text {
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 2;
  }

  .knowledge-item-image {
    width: 50%;
  }

  /*----- 年齢を重ねてからのご購入も、LifeGateにお任せください！ -----*/

  .knowledge-care {
    height: 300px;
    margin-bottom: 100px;
  }

  .knowledge-care-flat35 {
    height: 450px;
  }

  .knowledge-care-title {
    font-size: 2.4rem;
  }

  .knowledge-care-text {
    line-height: 2;
  }

  .knowledge-care-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 850px;
  }

  .knowledge-care-item {
    width: 270px;
    margin-bottom: 20px;
  }

  /*----- まとめ ～知っておくべき住宅ローンの4つのルール～ -----*/

  .knowledge-result {
    margin-bottom: 100px;
    padding: 0;
  }

  .knowledge-result-title {
    margin-bottom: 50px;
    padding: 15px 0;
    font-size: 2.4rem;
  }

  .knowledge-result-catch {
    margin-bottom: 50px;
    font-size: 3.5rem;
  }

  .knowledge-result-list {
    margin-bottom: 100px;
    padding: 0 50px;
  }

  .knowledge-result-item {
    width: calc(50% - 25px);
  }

  .knowledge-result-item-image {
    width: 210px;
    margin-bottom: 15px;
  }

  .knowledge-result-item-title {
    margin-bottom: 15px;
    font-size: 2.4rem;
  }

  .knowledge-result-item-text {
    font-size: 1.8rem;
    line-height: 1.75;
  }

  .knowledge-result-subcontent {
    height: 300px;
  }

  .knowledge-result-subcontent-title {
    font-size: 2.4rem;
  }

  .knowledge-result-subcontent-text {
    line-height: 2;
  }
}

/*========== コンテンツナビゲーション ==========*/

.content-nav {
  padding: 0 15px 30px;
}

.content-nav-item:not(:last-of-type) {
  margin-bottom: 15px;
}

.content-nav-item-button {
  display: block;
  padding: 15px;
  background-position: center;
  background-size: cover;
}

.content-nav-item:nth-of-type(1) .content-nav-item-button {
  background-image: url(../../images/life-planning/background_content-nav_features.jpg);
}

.content-nav-item:nth-of-type(2) .content-nav-item-button {
  background-image: url(../../images/life-planning/background_content-nav_voices.jpg);
}

.content-nav-item-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  padding: 15px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: center;
  border: 1px solid #fff;
  text-shadow: rgba(0, 0, 0, .5) 0 2.5px 5px;
}

.content-nav-item-title-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.5;
}

@media print, screen and (min-width: 640px) {
  .content-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .content-nav-item {
    width: calc(50% - 7.5px);
  }

  .content-nav-item:not(:last-of-type) {
    margin-bottom: 0;
  }
}

@media print, screen and (min-width: 769px) {
  .content-nav {
    margin-bottom: 100px;
    padding: 0;
  }

  .content-nav-list {
    width: 1000px;
    margin: auto;
    padding: 0 30px;
  }

  .content-nav-item {
    width: 450px;
  }

  .content-nav-item-title {
    height: 150px;
    font-size: 2.4rem;
  }

  .content-nav-item-title-label {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
}
