/*Diaper Cost Simlator css*/
html,
body {
  margin: 0;
  padding: 0;
  background-color: #EEF7FD;
  font-family: "Roboto", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
  font-size: 16px;
  color: #333333;
}
.diaper-cost-sim-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
}
.diaper-cost-sim-header {
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/header-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  height: 56px;
  margin-bottom: 25px;
  padding: 10px 0 10px 12px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", sans-serif;
  white-space: nowrap;
  letter-spacing: normal;
}
.diaper-cost-sim-header img {
  margin-right: 7px;
  height: 37px;
  vertical-align: middle;
}
.diaper-cost-sim-footer {
  font-family: "Arial", sans-serif;
  font-size: 13px;
  text-align: center;
  padding: 0 0 10px;
  margin-top: 60px;
}
.diaper-cost-sim-btn {
  margin-left: auto;
  margin-right: auto;
  width: 420px;
  max-width: 100%;
  position: relative;
}
.diaper-cost-sim-btn a,
.diaper-cost-sim-btn.white a:hover {
  border: 2px solid #0060C6;
  border-radius: 27px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  background-color: #0060C6;
  color: #fff;
  height: 56px;
  line-height: 52px;
  white-space: nowrap;
  display: block;
}
.diaper-cost-sim-btn a:hover,
.diaper-cost-sim-btn.white a {
  background-color: #fff;
  color: #0060C6;
}
.diaper-cost-sim-btn a,
.diaper-cost-sim-btn a:hover {
  text-decoration: none;
  -webkit-transition: all 0.5s 0s ease;
  -moz-transition: all 0.5s 0s ease;
  -ms-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}
.diaper-cost-sim-btn a:after,
.diaper-cost-sim-btn.white a:hover:after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/arrow.svg");
  background-repeat: no-repeat;
  background-position: right center;
  display: block;
  position: absolute;
  right: 16px;
  top: 20px;
}
.diaper-cost-sim-btn a:hover:after,
.diaper-cost-sim-btn.white a:after {
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/arrow-blue.svg");
}
.diaper-cost-sim-btn.disabled a,
.diaper-cost-sim-btn.disabled a:hover {
  border: 2px solid #AEAEAE;
  background-color: #AEAEAE;
  color: #fff;
  cursor: default;
}
.diaper-cost-sim-btn.disabled a:hover:after {
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/arrow.svg");
}
.diaper-cost-sim-btn.back a:after {
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/arrow-left.svg");
  background-position: left center;
  left: 20px;
  right: auto;
}
.diaper-cost-sim-btn.back a:hover:after {
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/arrow-left-blue.svg");
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 15px top 11px;
  border: 2px solid #D6D6D6;
  border-radius: 5px;
  height: 48px;
  width: 100%;
  background-color: #fff;
  padding: 0 15px;
}
select::-ms-expand {
  display: none;
}
select.active {
  border-color: #FFEEF8;
  background-color: #fff;
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
[type="radio"]:checked + span,
[type="radio"]:not(:checked) + span
{
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  line-height: 16px;
  display: inline-block;
}
[type="radio"]:checked + span:before,
[type="radio"]:not(:checked) + span:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border: 4px solid #ABABAB;
  border-radius: 100%;
  background: #fff;
}
[type="radio"]:checked + span:after,
[type="radio"]:not(:checked) + span:after {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + span:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}
[type="radio"]:checked + span:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.radio-outer {
  border: 2px solid #D6D6D6;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  cursor: pointer;
}
.radio-outer.active,
select.active {
  border-color: #ED68B4;
  background-color: #FFEEF8;
}
.radio-outer.active [type="radio"]:checked + span:before,
.radio-outer.active [type="radio"]:not(:checked) + span:before {
  border-color: #ED68B4;
}
div.err {
  border: 2px solid #E4007F;
  background-color: #FFEEF8;
  color: #E4007F;
  font-weight: bold;
  border-radius: 5px;
  padding: 5px 15px;
  margin-bottom: 25px;
  display: none;
}

/* 扉画面 */
.is-start-page .diaper-cost-sim-header {
  display: none;
}
.is-start-page .diaper-cost-sim-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 800px;
  color: #fff;
}
.start-page {
  background-image: url("/content/dam/sites/th_lifree_com/th/diaper-cost-sim/kv-bg.jpg");
  background-repeat: no-repeat;
  background-position: right bottom;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
}
.start-page .start-logo {
  width: 222px;
  margin: 17vh auto 6vh;
}
.start-page .start-name {
  margin-bottom: 10vh;
}
.start-page .diaper-cost-sim-btn {
  max-width: calc(100% - 80px);
}
.start-page .diaper-cost-sim-btn a,
.start-page .diaper-cost-sim-btn a:hover {
  font-size: 26px;
  border: 0 none;
}

/* 入力画面 */
.input-page {
  padding: 0 25px;
  display: none;
  letter-spacing: normal;
}
.input-page .input-block {
  margin: 15px 0 25px;
}
.input-page .input-block .title {
  font-size: 18px;
  color: #1D2088;
  margin-bottom: 5px;
  font-weight: bold;
}
.input-page .input-block .title span {
  border-radius: 50%;
  color: #fff;
  background-color: #1F2189;
  font-family: "Arial", sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  width: 22px;
  height: 22px;
  line-height: 22px;
  display: inline-block;
  margin-right: 7px;
}
.input-page .input-block .radio-wrapper {
  display: flex;
  justify-content: space-between;
}
.input-page .input-block .radio-outer {
  width: 50%;
}
.input-page .input-block .radio-outer:first-child {
  margin-right: 15px;
}
.input-page .input-block .radio-outer img {
  height: 90px;
  margin-bottom: 10px;
}

/* 結果画面 */
.result-page {
  padding: 0 25px;
  display: none;
}
.result-page .title {
  font-size: 18px;
  font-weight: bold;
  color: #1D2088;
}
.result-page .title span {
  font-size: 16px;
}
.result-page .total {
  border: 2px solid #ED68B4;
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 5px;
  background-color: #fff;
  position: relative;
  z-index: 1;
}
.result-page .total .unit {
  font-family: "Arial", sans-serif;
}
.result-page .total .amount {
  font-family: "Arial", sans-serif;
  font-size: 36px;
}
.result-page .total .txt {
  color: #E4007F;
}
.result-page .detail {
  background-color: #E9E9E9;
  padding: 40px 25px 25px;
  margin: -30px -25px 25px -25px;
}
.result-page .graph {
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
}
.result-page .graph .note {
  font-size: 12px;
  margin-bottom: 15px;
}
.result-page .graph .note span {
  font-size: 22px;
  line-height: 1em;
  vertical-align: bottom;
  color: #78787B;
}
.result-page .graph .note span.blue {
  color: #3A3DB8;
}
.result-page .graph .note span.yellow {
  color: #FF9900;
}
.result-page .graph #chart {
  height: 300px;
  width: 100%;
}
.result-page .cost .cost-title {
  font-size: 12px;
  padding: 20px 15px 5px;
  font-weight: bold;
}
.result-page .cost .cost-title span {
  float: right;
}
.result-page .cost .cost-content {
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  font-size: 13px;
}
.result-page .cost .cost-content #cost-now {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #CCCCCC;
}
.result-page .cost .cost-content span.price {
  float: right;
  font-size: 11px;
  color: #E4007F;
}
.result-page .cost .cost-content span.price .unit {
  font-family: "Arial", sans-serif;
}
.result-page .cost .cost-content span.price .amount {
  font-family: "Arial", sans-serif;
  font-size: 22px;
  font-weight: bold;
}
.result-page .cost .cost-content #cost-now span.price {
  color: #333;
}

.result-page .bnr {
  padding-top: 20px;
}
.result-page .bnr .bnr-item {
  display: block;
}
.result-page .bnr .bnr-item + .bnr-item {
  padding-top: 15px;
}

@media all and (min-width: 769px) {
  .diaper-cost-sim-header {
    letter-spacing: 0.05em;
  }
  .is-start-page .diaper-cost-sim-footer {
    padding-bottom: 25px;
  }
  .start-page .start-name br {
    display: none;
  }
  .input-page,
  .result-page {
    padding: 0 60px;
    letter-spacing: 0.05em;
  }
  .result-page .detail {
    padding: 40px 60px 25px;
    margin: -30px -60px 25px -60px;
  }
  .diaper-cost-sim-btn a:after,
  .diaper-cost-sim-btn.white a:hover:after {
    right: 20px;
  }
  .diaper-cost-sim-btn.back a:after {
    left: 20px;
  }
}
