.pattern_fotune {
    background-image: url(/img/usr/freepage/pattern_fortune/pc/pattern_fotune_bg_v2.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 1920px;
    height: 940px;
    margin: 0 auto;
}
.pattern_fotune .pagetitle {
    text-align: center;
    padding-top: 125px;
}
.pop{
    width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
}
.clearfix::after{
    display: block;
    content: '';
    clear: both;
}
.pop .left {
    float: left;
    width: 47.5%;
    background-image: url(/img/usr/freepage/pattern_fortune/pop_left.png);
}
.pop .right {
    float: right;
    width: 47.5%;
    background-image: url(/img/usr/freepage/pattern_fortune/pop_right.png);
}
.pop p {
    text-align: center;
    font-size: 21px;
    color: #5f2222;
    padding: 50px 10px;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 100%;
}
.expl_text {
    font-size: 24px;
    color: #5F2222;
    text-align: center;
    margin-top: 40px;
}
.start {
    background-color: #CA9347;
    font-size: 20px;
    border: 0;
    color: #fff;
    width: 300px;
    border-radius: 7px;
    padding: 15px 0;
    font-weight: bold;
    margin: 40px auto 0;
    display: block;
    transition: 0.3s ease;
    cursor: pointer;
}
.start:hover{
    text-decoration: none;
    opacity: 0.7;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
    z-index: 10000;
}
.modal-content {
    background-color: #fefefe;
    margin: 100px auto;
    padding: 20px;
    border: 0;
    width: 95%;
    max-width: 800px;
    height: 730px;
    background-color: #FFFCE8;
    background-image: url(/img/usr/freepage/pattern_fortune/pc/modal_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.close {
    color: #fff;
    float: right;
    font-size: 48px;
    font-weight: lighter;
    position: absolute;
    right: 0;
    top: -60px;
    transition: 0.3s ease;
}
.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
    opacity: 0.7;
}
.q_title {
    font-size: 24px;
    font-weight: bold;
    color: #5F2222;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}
.q_title span {
    color: #fff;
    display: inline-block;
    background-color: #CB8923;
    padding: 10px 13px;
    box-sizing: border-box;
    border-radius: 100%;
    margin-right: 15px;
    font-size: 21px;
}
div#question1 label, div#question2 label, div#question3 label {
    width: 300px;
    padding: 20px 10px;
    box-sizing: border-box;
    display: block;
    text-align: center;
    border: 2px solid #cb8923;
    border-radius: 5px;
    background-color: #fff;
    font-size: 20px;
    margin: 0px auto 20px;
    transition: 0.3s ease;
    cursor: pointer;
}
div#question1 label:hover, div#question2 label:hover, div#question3 label:hover{
    opacity: 0.5;
}

div#question1 input, div#question2 input, div#question3 input {
    display: none;
}
button#backButton {
    appearance: none;
    border: 2px solid #ddd;
    background-color: #fff;
    width: 200px;
    font-size: 16px;
    border-radius: 5px;
    padding: 20px 0;
    margin-right: 20px;
    position:relative;
    cursor: pointer;
    transition: 0.3s ease;
}
button#topButton{
    appearance: none;
    border: 2px solid #ddd;
    background-color: #fff;
    width: 200px;
    font-size: 16px;
    border-radius: 5px;
    padding: 20px 0;
    position:relative;
    cursor: pointer;
    transition: 0.3s ease;

}
button#backButton:hover,button#topButton:hover{
    opacity: 0.7;
}
.return_area {
    width: 430px;
    margin: 0 auto;
}
button#backButton::before {
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
}

#result,#resultText{
    display: none;
}
.result_title {
    font-size: 28px;
    color: #5f2222;
    font-weight: bold;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}
.result_pattern_list {
    display: flex;
    display: -webkit-flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.result_pattern_list li {
    margin: 10px;
    background-color: #fff;
    padding: 25px;
    box-sizing: border-box;
    position: relative;
    flex-grow: 1;
    flex-basis: 30%;
    max-width: 60%;
}
.result_pattern_list li img {
    max-width: 180px;
    display: block;
    margin: 40px auto 25px;
    border-radius: 10px;
}
.pattern_title {
    color: #CB8923;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}
.pattern_desc {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
    text-align: center;
}
.result_pattern_list li a {
    font-size: 16px;
    background-color: #CA9347;
    color: #fff;
    padding: 15px 15px;
    font-weight: bold;
    max-width: 200px;
    width: 100%;
    border-radius: 7px;
    display: block;
    text-align: center;
    margin: 0 auto;
    transition: 0.3s ease;
}
.result_pattern_list li a:hover{
    text-decoration: none;
    opacity: 0.7;
}
button#retryButton {
    appearance: none;
    border: 2px solid #ddd;
    background-color: #fff;
    width: 200px;
    font-size: 16px;
    border-radius: 5px;
    padding: 20px 0 20px 10px;
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 25px auto 50px;
    display: block;
}
button#retryButton::before {
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
}
button#retryButton:hover{
    opacity: 0.7;
}
@media only screen and (max-width: 1920px) and (min-width: 769px){
    .pagetitle img {
        width: 29vw;
    }
    .pop {
        width: 34vw;
        margin-left: auto;
        margin-right: auto;
        margin-top: 4.5vw;
    }
    .pop p {
        text-align: center;
        font-size: 1.1vw;
        color: #5f2222;
        padding: 3vw 0;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-size: 100%;
    }
    .pattern_fotune {
        background-image: url(/img/usr/freepage/pattern_fortune/pc/pattern_fotune_bg_v2.png);
        background-size: 100%;
        background-repeat: no-repeat;
        max-width: 1920px;
        max-height: 940px;
        width: 100%;
        height: 49vw;
        margin: 0 auto;
    }
    .expl_text {
        font-size: 1.2vw;
        margin-top: 2vw;
    }
    .start {
        font-size: 1.1vw;
        padding: 0.85vw 0;
        margin: 2.3vw auto 0;
        width: 17vw;
    }
    .pattern_fotune .pagetitle {
        text-align: center;
        padding-top: 6.5vw;
    }
    .result-content .btn_block {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }
    .result-content .btn_block div.all_pattern,
    .result-content .btn_block button#retryButton {
        width: 200px;
        height: 60px;
    }
    .result-content .btn_block div.all_pattern {
        margin: 0 0 0 20px;
    }
    .result-content .btn_block div.all_pattern a {
        padding: 0;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .result-content .btn_block button#retryButton {
        line-height: 0;
        padding: 0 0 0 12px;
        margin: 0;
    }
}
/*---------------SP---------------*/
@media only screen and (max-width: 1000px){
    .pattern_fotune {
        background-image: url(/img/usr/freepage/pattern_fortune/sp/pattern_fotune_bg_sp_v2.png);
        background-size: 100%;
        background-repeat: no-repeat;
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 141vw;
        margin: 0 auto;
    }
    .pattern_fotune .pagetitle {
        text-align: center;
        padding-top: 15vw;
    }
    .pagetitle img {
        width: 70vw;
    }
    .pop {
        width: 84vw;
        margin-left: auto;
        margin-right: auto;
        margin-top: 24.5vw;
    }
    .pop p {
        text-align: center;
        font-size: 2.8vw;
        color: #5f2222;
        padding: 7.2vw 0;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-size: 100%;
    }
    .modal-content {
        width: 88%;
        margin: 10px auto 0;
        height: 75vh;
        overflow: scroll;
    }
    .result_pattern_list {
        display: block;
    }
    button#backButton {
        width: 47.5%;
        padding: 15px 0 15px 5%;
    }
    button#topButton{
        width: 47.5%;
        padding: 15px 0;
    }
    button#backButton {
        margin-right: 3vw;
    }
    .return_area {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .q_title {
        margin-top: 20px;
    }
    button#backButton::before{
        left: 15px;
    }
    .expl_text {
        font-size: 5vw;
        margin-top: 7vw;
    }
    .start {
        margin-top: 10vw;
    }
    .close{
        top: 10px;
        right: 3%;
    }
    .result_title {
        margin-top: 30px;
        font-size: 22px;
    }
    .q_title span {
        padding: 13px 13px;
    }
    .result_pattern_list li{
        max-width: none;
    }
}
/*---------------SP_end---------------*/
/*----------25/06/12_add----------*/
.all_pattern a {
    border: 2px solid #ddd;
    background-color: #fff;
    width: 200px;
    font-size: 16px;
    border-radius: 5px;
    padding: 20px 0 20px 10px;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 15px auto 15px;
    display: block;
    text-align: center;
    color: #111;
    font-family: 'Arial';
    font-weight: 400;
    position: relative;
    box-sizing: border-box;
}
.all_pattern a:hover {
    text-decoration: none;
    opacity: 0.7;
}
/*----------25/06/12_add_end----------*/