@charset "UTF-8";
/* 共通 */
.wrapper{
    display:flex;
    flex-direction:column;
    min-height: 100vh;
}
footer{
    margin-top:auto;
}
.contents {
    padding: 0;
}
.contents .note {
    font-size: 16px;
    color: #666;
}
/* 固有header/footer */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    padding: 12px 20px;
    border-bottom: 1px solid #d1d1d1;
}
header a img {
    width: 150px;
    height: auto;
}
header h1,
header>p {
    font-size: min(4.8vw, 23px);
    font-weight: bold;
}
footer small {
    background: #fff;
    color: #999;
}
/* contents */
.question {
    display: flex;
    padding: min(5.3vw, 50px) min(4vw, 30px);
}
.question_no {
    color: #DB670E;
    font-weight: bold;
    font-size: min(9.3vw, 38px);
    text-align: center;
    padding-right: min(5.3vw, 30px);
}
.question_no span {
    display: block;
    text-align: center;
    background: #FBEFE5;
    border-radius: 100px;
    width: 100%;
    font-size: min(4vw, 18px);
    font-weight: normal;
    line-height: 1.5;
    padding: 0 10px;
    white-space: nowrap;
}
.question_txt {
    font-size: min(6.9vw, 36px);
    font-weight: bold;
    line-height: 1.5;
}
.answer {
    background-image: linear-gradient(147deg, #F35C32 0%, #FBB557 74%);
    padding: min(4vw, 20px) min(5.3vw, 30px) min(8vw, 40px);
    counter-reset: number 0;
}
.answer>p {
    text-align: center;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 20px;
}
.answer>.wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.answer>.wrap>a {
    counter-increment: number 1;
    background: #fff;
    padding: 20px;
    border-radius: 0 20px 20px 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.answer>.wrap>a:hover {
    box-shadow:none;
    color:#DB670E;
}
.answer .ttl_wrap {
    position: relative;
    padding: 0 0 0 28px;
    font-size: min(5vw, 26px);
}
.answer .ttl_wrap::before {
    position: absolute;
    content: "0"counter(number);
    top: -15px;
    left: -10px;
    color: #DB670E;
    font-size: 26px;
    font-weight: bold;
}
.answer .ttl_wrap .ttl{
    font-weight: normal;
    line-height: 1.5;
}
.answer .detail {
    border-top: 1px solid #d1d1d1;
    padding: 15px 0 0;
}
.answer .detail p:not([class]) {
    font-size: 20px;
    font-weight: bold;
    color: #555;
}
.diagnosis .page_ttl {
    font-size: 28px;
}
.diagnosis .type {
    text-align: center;
    padding: 50px 30px;
    font-weight: bold;
}
.diagnosis .type p:nth-child(1) {
    font-size: 24px;
    color: #DB670E;
    margin: 0 0 10px;
}
.diagnosis .type p:nth-child(2) {
    font-size: 60px;
}
.diagnosis .type_detail {
    background: #FBEFE5;
    padding: 40px 30px;
}
.diagnosis .type_detail .inner {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}
.diagnosis .type_detail .inner p:not([class]) {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.6;
}
.intro_txt{
    position: relative;
    color:#666;
    background: #fbefe5;
    text-align:center;
    padding:20px;
    line-height:2;
    font-size:min(4.5vw, 28px);
    border-bottom:1px dotted #e1e1e1;
}
.intro_txt span{
    display:block;
    color: #DB670E;
}
.intro_txt img{
    position: absolute;
    top:90%;
    right:5px;
    width: min(39vw, 182px);
}
.foot_contents_wrap{
    max-width:650px;
    margin:auto;
    padding: 20px 15px;
}
.foot_contents_wrap video{
    margin-bottom:30px;
}
@media screen and (min-width: 525px) and (max-width: 1279px) {
    /* SP横～tab～PC未満 */
    .answer>.wrap {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 20px;
    }
    .answer>.wrap>a {
        width: calc((100% - 20px) / 2);
    }
}
@media screen and (min-width: 1280px) {
    /* PC以上 */
    .answer>.wrap {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 30px;
    }
    .answer>.wrap>a {
        width: calc((100% - 60px) / 3);
    }
    .intro_txt span{
        display:inline;
    }
    .intro_txt img{
        top:70%;
        right:15px;
        width: 276px;
    }
}