@charset "utf-8";

body {
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ",
    Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  position: relative;
  min-width: 320px;
}

li {
  list-style: none;
}

img {
  width: auto;
  max-width: 100%;
}

.inline-block {
  display: inline-block;
}

.check {
  margin: 0 auto;
  max-width: 1000px;
  padding: 50px 0 100px;
  box-sizing: border-box;
  min-width: 320px;
}

.check.fixed {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.result {
  display: none;
  min-width: 320px;
}

.result-wrap {
  position: fixed;
  max-width: 1000px;
  width: calc(100% - 40px);
  top: 5%;
  right: 0;
  left: 0;
  margin: 0 auto;
  z-index: 2000;
  min-width: 280px;
}

.result-inner {
  max-width: 1000px;
  width: calc(100% - 40px);
  min-width: 280px;
  position: fixed;
  height: 90%;
  overflow: scroll;
  background: #fff;
  padding: 50px;
  border-radius: 10px;
  z-index: 100;
  margin: 0 auto;
  border: 1px solid #000;
  box-shadow: 2px 2px 13px 2px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 800px) {
  .check {
    padding: 15px;
    width: 100%;
  }
  .result-inner {
    padding: 15px;
  }
}

/* title-wrap */
.check .title-wrap {
  margin-bottom: -10px;
  text-align: center;
}

.result .title-wrap {
  text-align: center;
  margin: 0px auto -50px;
  width: calc(100% - 140px);
}

@media screen and (max-width: 800px) {
  .result .title-wrap {
    width: calc(100% - 20px);
  }
}

/* btn */

.btn-wrap {
  text-align: center;
  margin: 60px auto;
}

.btn {
  background-color: #d53c3c;
  display: inline-block;
  padding: 25px 10px;
  width: 400px;
  border-radius: 10px;
  line-height: 1;
  transition-property: all;
  transition: 0.3s linear;
  cursor: pointer;
  box-sizing: border-box;
}

.btn:hover {
  opacity: 0.6;
}

@media screen and (max-width: 800px) {
  .btn-wrap {
    margin: 40px auto;
  }

  .btn {
    width: calc(100% - 40px);
    min-width: 250px;
    max-width: 400px;
  }
}

/* close */

.close {
  position: absolute;
  z-index: 150;
  width: 55px;
  height: 55px;
  border: 0;
  background-color: #d53c3c;
  border: 4px solid #fff;
  border-radius: 55px;
  margin: 0;
  padding: 0;
  transform: scale(0.5);
  cursor: pointer;
  right: -26px;
  top: -26px;
  box-shadow: 2px 2px 13px 2px rgba(0, 0, 0, 0.4);
}
.close:before {
  content: "";
  position: absolute;
  display: inline-block;
  top: 6px;
  left: 21px;
  width: 6px;
  height: 35px;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: white;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close:after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 6px;
  left: 21px;
  width: 6px;
  height: 35px;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: white;
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* over-ray */

.over-ray {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 120%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* check-list */

.check-list {
  padding: 70px;
  background-image: url(../images/bg.gif);
  background-repeat: repeat;
  border-radius: 5px;
  border: 1px solid #fbf8f4;
  counter-reset: my-counter;
  list-style: none;
}

.check-item {
  padding-left: 35px;
  position: relative;
}

.check-item:before {
  content: counter(my-counter) ".";
  counter-increment: my-counter;
  display: block;
  position: absolute;
  left: 0px;
  text-align: right;
  width: 30px;
  font-weight: bold;
}

.check-item:not(:first-child) {
  margin-top: 35px;
}

.check-item [class^="check-type-"] {
  display: none;
}

.check-item p {
  font-weight: bold;
  padding-left: 30px;
  position: relative;
  font-size: 18px;
  cursor: pointer;
  display: inline-block;
}

.check-item p::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 4px;
}

.check-item [class^="check-type-"]:checked + p::before {
  background: #2fc512;
}

.check-item [class^="check-type-"]:checked + p::after {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 5px;
  width: 6px;
  height: 11px;
  transform: rotate(40deg);
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
}

@media screen and (max-width: 800px) {
  .check-list {
    padding: 30px 20px;
  }

  .check-item:not(:first-child) {
    margin-top: 20px;
  }

  .check-item p {
    font-size: 16px;
  }
}

/* result-list */

.result-list-wrap {
  padding: 70px;
  background-image: url(../images/bg.gif);
  background-repeat: repeat;
  border-radius: 5px;
  border: 1px solid #fbf8f4;
  margin-bottom: 60px;
}

.result-list-item {
  border: 1px solid #f2e6d8;
  padding: 15px 100px;
  border-radius: 10px;
  background-color: #fefaf3;
  background-image: url(../images/bg_border.gif);
}

.result-list-item:not(:first-child) {
  margin-top: 30px;
}

.result-score-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.result-list-item .result-score-wrap [class^="result-score-"] {
  color: #fff;
  padding: 0;
  margin: 0;
  width: 120px;
  height: 120px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 30px;
}

.result-list-item .result-score-rhythm {
  background-color: #d53c3c;
}

.result-list-item .result-score-balance {
  background-color: #ff9600;
}

.result-list-item .result-score-nutrient {
  background-color: #62ad1f;
}

.result-list-item .result-score-wrap [class^="result-score-"] p {
  font-size: 42px;
  line-height: 120px;
}
.result-list-item .result-score-wrap [class^="result-score-"] p::after {
  content: "点";
  font-size: 24px;
}

.result-info {
  width: calc(100% - 150px);
}

.result-text {
  font-size: 24px;
  margin-top: 15px;
  font-weight: bold;
}

@media screen and (max-width: 800px) {
  .result-list-item {
    padding: 10px;
  }
  .result-list-wrap {
    padding: 70px 10px 20px;
  }

  .result-score-wrap {
    width: 100%;
  }

  .result-list-item .result-score-wrap [class^="result-score-"] {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-right: 15px;
  }

  .result-list-item .result-score-wrap [class^="result-score-"] p {
    font-size: 25px;
    line-height: 80px;
  }
  .result-list-item .result-score-wrap [class^="result-score-"] p::after {
    content: "点";
    font-size: 12px;
  }

  .result-info {
    width: calc(100% - 95px);
  }

  .result-text {
    font-size: 16px;
    margin-top: 5px;
  }
}

.result-sample-image {
  margin-top: 45px;
}

.result-sample-text {
  font-weight: bold;
  margin-top: 15px;
}

/* result-description */

.result-description {
  display: flex;
  flex-wrap: wrap;
}

.result-description:not(:first-child) {
  margin-top: 40px;
}

.result-description-text {
  width: calc(100% - 258px);
  margin-right: 20px;
}

.result-description-subtext {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  border-radius: 10px;
  background-color: #fefaf3;
  border: 1px solid #f2e6d8;
  background-image: url(../images/bg_border.gif);
}

.result-description-image {
  width: 238px;
}

.result-end-text {
  font-size: 22px;
  line-height: 2;
  margin-top: 60px;
  font-weight: bold;
}

.result-last-text {
  margin: 60px auto;
  padding: 40px 20px;
  background: #62ad1f;
  border-radius: 5px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 800px) {
  .result-description {
    display: block;
  }

  .result-description:not(:first-child) {
    margin-top: 60px;
  }

  .result-description-text {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 10px;
  }

  .result-description-subtext {
    margin-top: 10px;
    font-size: 16px;
    padding: 15px;
  }

  .result-description-image {
    margin: 0 auto;
    display: block;
    max-width: 300px;
    width: 100%;
  }

  .result-end-text {
    font-size: 18px;
    margin-top: 60px;
  }

  .result-last-text {
    margin: 30px auto;
    padding: 20px 10px;
    font-size: 18px;
  }
}

.result-chart {
  width: 300px;
  height: 300px;
  margin: 0 auto 30px;
  position: relative;
  background-color: #f1ebe2;
  border-radius: 50%;
}

.result-chart::before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background-image: url(../images/radar.png);
  background-size: contain;
  background-position: center 18px;
  background-repeat: no-repeat;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.result-chart_canvas {
  position: absolute;
  width: 100% !important;
  height: auto !important;
  top: 11px;
  left: 17px;
  right: 0;
  margin: auto;
}

.result-chart [class^="result-score-"] {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.result-chart [class^="result-score-"] p {
  font-weight: bold;
  color: #fff;
  text-align: center;
  font-size: 18px;
  line-height: 45px;
}

.result-chart .result-score-rhythm {
  top: 15%;
  left: 18%;
  background: #d53c3c;
}

.result-chart .result-score-balance {
  bottom: 22%;
  left: -10px;
  background: #ff9600;
}

.result-chart .result-score-nutrient {
  bottom: 22%;
  right: -10px;
  background: #62ad1f;
}

@media screen and (min-width: 768px) {
  .result-chart {
    width: 590px;
    height: 590px;
  }

  .result-chart::before {
    background-position: center 30px;
  }

  .result-chart_canvas {
    width: 82% !important;
    top: 77px;
    left: 24px;
  }

  .result-chart [class^="result-score-"] {
    width: 73px;
    height: 73px;
  }

  .result-chart [class^="result-score-"] p {
    font-size: 24px;
    line-height: 73px;
  }

  .result-chart .result-score-rhythm {
    top: 14%;
    left: 21%;
  }

  .result-chart .result-score-balance {
    bottom: 23%;
    left: 0%;
  }

  .result-chart .result-score-nutrient {
    bottom: 23%;
    right: 0%;
  }
}

@media screen and (max-width: 375px) {
  .result-chart {
    width: 200px;
    height: 200px;
  }

  .result-chart::before {
    background-position: center;
    width: 90%;
    height: 90%;
  }
  .result-chart_canvas {
    top: -13px;
    left: 0;
    width: 240px !important;
  }

  .result-chart [class^="result-score-"] {
    width: 35px;
    height: 35px;
  }
  .result-chart [class^="result-score-"] p {
    font-size: 14px;
    line-height: 35px;
  }

  .result-chart .result-score-rhythm {
    top: 45px;
    left: 45px;
  }

  .result-chart .result-score-balance {
    bottom: 50px;
    left: 0px;
  }

  .result-chart .result-score-nutrient {
    bottom: 50px;
    right: 0px;
  }
}
