@charset "utf-8";

/*--------------------------------------------------------------
  common
--------------------------------------------------------------*/
.display-none {
    display: none;
}

.btn-area {
    width: 65%;
    margin: 2.6vh auto 0 auto;
    display: flex;
    justify-content: space-around;
}

.btn {
    width: 45%;
    font-size: 1.2em;
    box-shadow: rgba(0, 0, 0, .2) 0px 25px 20px -15px;
    display: inline-block;
}

.btn > a {
    padding: 25px 0;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn.green > a {
    color: rgb(255, 255, 255);
    background-color: rgb(122, 178, 43);
}

.btn.yellow > a {
    color: rgb(15, 15, 15);
    background-color: rgb(239, 217, 126);
}

.btn.gray > a {
    background-color: rgb(190, 183, 151);
    color: rgb(255, 255, 255);
}

.frame-txt {
    padding: 28px;
    border: 2px dotted #b4ad94;
    border-radius: 5px;
    background-color: #fcfbe4;
    line-height: 1.8em;
}

/*--------------------------------------------------------------
  running
--------------------------------------------------------------*/
#running {
    width: 90%;
    position: fixed;
    top: 8.5%;
    left: 5%;
    display: none;
}

.running-inner .content-frame .step  {
    margin-bottom: 5vh;
    display: flex;
    justify-content: center;
}

.running-inner .content-frame .step .step-circle {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: solid #ccc 2px;
    display: block;
    position: relative;
}

.running-inner .content-frame .step .step-circle.active {
    background-color: #f49c20;
}

.running-inner .content-frame .step .step-circle::after {
    width: 12px;
    height: 4px;
    content: "";
    background-color: #ccc;
    display: block;
    position: absolute;
    top: 8px;
    right: -12px;
}

.running-inner .content-frame .step .step-circle:last-child {
    margin-right: 0;
}

.running-inner .content-frame .step .step-circle:last-child::after {
    content: none;
}

.running-inner .content-frame .step-txt {
    width: 80%;
    margin: 0 auto 5vh auto;
    text-align: center;
    line-height: 1.5em;
}

.running #running {
    display: block;
}

/*--------------------------------------------------------------
  step-1
--------------------------------------------------------------*/
#step-1 .select-animal-masters {
    display: flex;
    justify-content: center;
}

#step-1 .select-animal-masters label {
    width: 30%;
    max-width: 30vh;
    margin-right: 3%;
    padding: 20px;
    border: solid #bcbcbc 2px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

#step-1 .select-animal-masters label:last-child {
    margin-right: 0;
}

#step-1 .select-animal-masters input[type="radio"] {
    position: absolute;
    opacity: 0;
}

#step-1 .select-animal-masters img {
    width: 100%;
    margin-bottom: 20px;
    opacity: .25;
}

#step-1 .select-animal-masters span {
    font-size: 1.2em;
}

#step-1 .select-animal-masters input[type="radio"]:checked + img {
    opacity: 1;
}

/*--------------------------------------------------------------
  step-2
--------------------------------------------------------------*/
#step-2 .input-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#step-2 .input-area > * {
    width: 50%;
    margin-bottom: 5vh;
    padding: 0 5%;
}

#step-2 .input-area .label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

#step-2 .input-area .input-item input[type="text"],
#step-2 .input-area .input-item input[type="number"],
#step-2 .input-area .input-item select {
    width: 100%;
    height: 65px;
    padding: 12px;
    background-color: #fff;
    border: solid 1px #bcbcbc;
    border-radius: 10px;
    font-family: "uzura", "メイリオ", "Meiryo", sans-serif;
    font-size: 1em;
    letter-spacing: 1px;
    appearance: none;
    -webkit-appearance: none;
}

#step-2 .input-area .input-age .input-item {
    display: flex;
    justify-content: space-between;
}

#step-2 .input-area .input-age .input-item select {
    width: 47.5%;
}

#step-2 .input-area .input-weight .input-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#step-2 .input-area .input-weight .input-item input {
    width: 90%;
    margin-right: 10px;
}

/*--------------------------------------------------------------
  step-3 - step-xx
--------------------------------------------------------------*/
.running-inner .content-frame .check-items {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
}

.running-inner .content-frame .check-items .symptom {
    width: 46%;
    margin: 0 2% 2.5vh 2%;
    line-height: 1.2em;
    display: flex;
    align-items: center;
}

.running-inner .content-frame .check-items .symptom:last-child,
.running-inner .content-frame .check-items .symptom:nth-last-child(2) {
    margin-bottom: 0;
}

.running-inner .content-frame .check-items .symptom .symptom-checkbox {
    display: none;
}

.running-inner .content-frame .check-items .symptom .symptom-txt {
    width: 95%;
    padding-left: 8%;
    position: relative;
}

.running-inner .content-frame .check-items .symptom .symptom-txt::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 1px solid #999;
    border-radius: 6px;
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
}

.running-inner .content-frame .check-items .symptom .symptom-checkbox:checked + .symptom-txt {
    color: rgb(122, 178, 43);
}

.running-inner .content-frame .check-items .symptom .symptom-checkbox:checked + .symptom-txt::after {
    content: "";
    width: 7px;
    height: 14px;
    border-bottom: solid rgb(122, 178, 43) 3px;
    border-right: solid rgb(122, 178, 43) 4px;
    transform: rotate(40deg);
    display: block;
    position: absolute;
    top: 3px;
    left: 5px;
}














/*--------------------------------------------------------------
  result
--------------------------------------------------------------*/
.result #result {
    display: block;
}

#result .result-inner {
    padding-bottom: 5vw;
}

#result .result-txt {
    font-size: 2em;
    text-align: center;
    padding: 2vw 0;
}

#result .result-inner .content-frame .result-upper,
#result .result-inner .content-frame .result-lower {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#result .result-inner .content-frame .result-upper {
    margin-bottom: 35px;
}

#result .result-inner .content-frame .result-upper .clinical-records {
    width: 50%;
    line-height: 2em;
}

#result .result-inner .content-frame .result-upper .clinical-records #type {
    margin: 10px 0;
    padding: 15px 0 15px 15px;
    font-size: 1.8em;
    border-radius: 35% 35% 35% 40% / 35% 35% 40% 35%;
    font-weight: bold;
    display: inline-block;
}

#result .result-inner .content-frame .result-upper .clinical-records .inputted-detail {
    margin-top: 10px;
}

#result .result-inner .content-frame .result-upper .type-img {
    width: 36%;
}

#result .result-inner .content-frame .result-upper .type-img p {
    display: flex;
    align-items: center;
}

#result .result-inner .content-frame .result-upper .type-img p img {
    width: 100%;
    margin-top: 20px;
}

#result .result-inner .content-frame .result-lower {
    align-items: flex-start;
}

#result .result-inner .content-frame .result-lower > * {
    width: 42%;
}

#result .result-inner .content-frame .result-lower .graph-frame {
    margin-right: 5%;
}

#result .result-inner .content-frame .result-lower .graph-frame span {
    line-height: 1.5em;
    display: inline-block;
}

#result .result-inner .content-frame .result-lower .description-frame .description-label {
    margin: 40px 0 15px 0;
    font-size: 1.2em;
    text-align: center;
}

#result .result-inner .content-frame .about-kiketsusui {
    width: 90%;
    margin: 80px auto 0 auto;
    line-height: 1.5em;
}

#result .result-inner .content-frame .about-kiketsusui span {
    margin-bottom: 15px;
    font-size: 1.15em;
    font-weight: bold;
    text-align: center;
    display: block;
}

#result .result-inner .content-box {
    margin-bottom: 50px;
    text-align: center;
}

/*--------------------------------------------------------------
  advice
--------------------------------------------------------------*/


.advice #advice {
    display: block;
}

#advice .advice-txt {
    font-size: 2em;
    text-align: center;
    padding: 2vw 0;
}

#advice .advice-inner {
    padding-bottom: 5vw;
}

#advice .advice-inner .content-frame .materials-frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#advice .advice-inner .content-frame .materials-frame ul {
    margin: 50px 0 60px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

#advice .advice-inner .content-frame .materials-frame ul li {
    width: 15%;
    margin: 0 2.5%;
}

#advice .advice-inner .content-frame .materials-frame ul li:nth-child(even) {
    margin-top: 20vh;
}

#advice .advice-inner .content-frame .materials-frame ul li a {
    color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

#advice .advice-inner .content-frame .materials-frame ul li:nth-child(odd) a {
    flex-direction: column-reverse;
}

#advice .advice-inner .content-frame .materials-frame ul li span {
    margin: 15px 0;
    font-size: 1.8vw;
    text-align: center;
    display: block;
}

#advice .advice-inner .content-frame .materials-frame ul li img {
    width: 100%;
}

#advice .advice-inner .content-frame .advice-frame span {
    margin-bottom: 15px;
    font-size: 1.15em;
    font-weight: bold;
    text-align: center;
    display: block;
}

#advice .advice-inner .content-frame .recommend-food-frame {
    margin-top: 60px;
}

#advice .advice-inner .content-frame .recommend-food-frame span {
    margin-bottom: 15px;
    font-size: 1.15em;
    font-weight: bold;
    text-align: center;
    display: block;
}

#advice .advice-inner .content-frame .recommend-food-frame .frame-txt span {
    margin: 25px 0 0 0;
}

#advice .advice-inner .content-frame .recommend-food-frame ul {
    text-align: center;
}

#advice .advice-inner .content-frame .recommend-food-frame ul li {
    margin-right: 25px;
    display: inline;
}

#advice .advice-inner .content-frame .recommend-food-frame ul li:last-child {
    margin-right: 0;
}

#advice .advice-inner .content-frame .catch-phrase {
    margin-top: 60px;
    font-size: 28px;
    text-align: center;
    line-height: 1.8em;
}

#advice .advice-inner .content-frame .catch-phrase span {
    margin: 10px 0;
    padding: 15px 0 15px 15px;
    font-size: 1.5em;
    border-radius: 35% 35% 35% 40% / 35% 35% 40% 35%;
    font-weight: bold;
    display: inline-block;
}

#advice .advice-inner .content-frame .catch-phrase span:nth-child(2) {
    padding-left: 0;
    font-size: 3em;
}

#advice .advice-inner #products {
    margin-top: 50px;
}

/*--------------------------------------------------------------
  responsive
--------------------------------------------------------------*/
@media screen and (max-width:768px) {
    .btn-area {
       width:  100%;
    }

    .btn {
        width: 42%;
    }

    #step-1 .select-animal-masters label {
        width: 40%;
    }

    #step-2 .input-area > * {
        width: 100%;
    }

    .running-inner .content-frame .check-items .symptom {
        width: 100%;
        padding: 5px 0;
    }

    #result .result-inner .content-frame .result-upper,
    #result .result-inner .content-frame .result-lower {
        flex-direction: row;
    }

    #result .result-inner .content-frame .result-upper > *,
    #result .result-inner .content-frame .result-lower > *,
    #result .result-inner .content-frame .result-upper .clinical-records {
        width: 100%;
    }

    #result .result-inner .content-frame .result-upper .type-img {
        width: 100%;
    }

    #result .result-inner .content-frame .result-lower .graph-frame {
        margin-top: 30px;
        order: 2;
        margin-right: 0;
    }

    #result .result-inner .content-frame .result-lower .description-frame {
        order: 1;
    }

    #result .result-inner .content-frame .about-kampo {
        margin-top: 20px;
    }

    #result .result-inner .content-box {
        margin-bottom: 20px;
    }

    #advice .advice-txt {
        font-size: 6vw;
    }

    #advice .advice-inner .content-frame .materials-frame ul li {
        width: 23.5%;
        margin: 0 0 0 -5%;
    }

    #advice .advice-inner .content-frame .materials-frame ul li:nth-child(even) {
        margin-top: 25vh;
    }

    #advice .advice-inner .content-frame .materials-frame ul li span {
        font-size: 2.8vw;
    }

    #advice .advice-inner .content-frame .catch-phrase span {
        font-size: 8vw;
    }

    #advice .advice-inner .content-frame .catch-phrase span:nth-child(2) {
        font-size: 10vw;
    }

    #advice .advice-inner .content-frame .recommend-food-frame ul li {
        margin-right: 0;
        display: block;
        padding: 2px 0;
        width: 100%;
    }

    #products {
        margin-top: 35px;
    }

    .running-inner .content-frame .check-items .symptom .symptom-txt {
        padding-left: 10vw;
    }

    .clinical-records {
        text-align: center;
    }
}