@charset "utf-8";
/* CSS Document */

/* ------------------------------
	BASE
------------------------------ */
/*
p, a, a:hover, span, li, dt, dd, th, td {
    color: rgba(255,255,255,1);
}
*/

/* ------------------------------
	MAIN BOARD
------------------------------ */

main {
    /*background: url(/medical/img/p_earth.jpg) bottom center / cover no-repeat fixed;*/
    position: relative;
}
main::before,
main::after {
    content: "";
    width: 100%;
    height:100vh;
    display: block;
    position:fixed;
    top: 0;
    left: 0;
}
main::before {
    background: rgba(0,0,0,1);
    opacity: .3;
}
main::after {
    background: url(/medical/img/p_earth.jpg) bottom center / cover no-repeat;
    z-index: -1;
}
article {
    max-width: 1000px;
    min-height: 500px;
    padding: 80px 10%;
    box-sizing: border-box;
}
article>section:nth-of-type(1) {text-align: center;}
h1 {
    color: rgba(255,255,255,1);
    margin-bottom: 1rem;
    text-align: center;
}
a.explain, a.action,
a.explain:hover, a.action:hover {width: auto;}
a.explain {color: rgba(200,180,170,1);}
a.action {color: rgba(30,190,250,1);}
a.question, a.question:hover {
    color: rgba(250,130,130,1);
    font-size: 13px;
    font-family: "A1 Mincho",serif;
    display: block;
}
a.explain#option1::before {
    content: "";
    width: 100%;
    height: 50px;
    display: inline-block;
    margin-bottom: 5px;
}
a.retry, a.retry:hover {
    color: rgba(255,255,255,1);
    font-size: 13px;
    font-family: "A1 Mincho",serif;
    display: inline-block;
    margin-top: 30px;
    position: relative;
}
a.retry::before {
    content: "";
    background: url(/common/img/i_retry.svg) center / contain no-repeat;
    width: 100%;
    height: 50px;
    display: block;
    position: absolute;
    left: 0;
    top: -50px;
}
a.question::after {
    content: "";
    width: 15px;
    height: 15px;
    display: block;
    background: url(/common/img/i_question_in.svg) center / contain no-repeat;
    display: inline-block;
    position: relative;
    top: 2px;
    margin-left: .3em;
}
aside>a.action,aside>a.action:hover {
    display: block;
    width: 20em;
    margin: 0 auto;
}
article>aside {
    text-align: center;
    margin: 10px 0;
}
article>aside>label {
    height: 30px;
    display: inline-block;
    margin: 5px auto;
    position: relative;
}
article>aside>label::before {
    content: "";
    border-top: calc(3 * 1.7320508px) solid rgba(0,0,0,1);
    border-right: 4px solid transparent;
    border-bottom: calc(4 * 1.7320508px) solid transparent;
    border-left: 4px solid transparent;
    display: block;
    position: absolute;
    top: calc(50% + 2px);
    right: calc(4em + 13px);
    z-index: 1;
    transform: translate(0,-3px);
    pointer-events: none;
}
article>aside>label::after {
    content: "を診断中";
    color: rgba(255,255,255,1);
    font-family: "A1 Mincho",serif;
}
article>aside>label>select {
    width: auto;
    height: auto;
    background: rgba(255,255,255,1);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 3px;
    font-size: 18px;
    font-family: "游明朝体","Yu Mincho","游明朝 Medium", "Yu Mincho Medium","MS Mincho","MS PGothic",serif;
    letter-spacing: 1px;
    line-height: 20px;
    display: inline-block;
    vertical-align: bottom;
    margin: 0 auto 1px;
    padding: 5px 20px 5px 5px;
    position: relative;
    direction: rtl;
    outline: 0;
    -webkit-appearance: none;
}

/* responsive */

@media screen and (min-width: 500px) {
    a.retry, a.retry:hover {
        position: fixed;
        top: 160px;
        right: 30px;
    }
}
@media screen and (min-width: 750px) {
    /*article {padding: 80px calc((1 - .618) / 3 * 100%);}*/
}
@media screen and (min-width: 1000px) {
}


/* ------------------------------
	QUESTIONS
------------------------------ */

article form>dl {
    width: 100%;
    padding: 0 calc((100% - 300px)/2);
    box-sizing: border-box;
    position: relative;
    text-align: center;
}
article form>dl>dt {
    color: rgba(255,255,255,1);
    font-size: 21px;
    font-family: "A1 Mincho",serif;
    letter-spacing: 2px;
    padding-bottom: 20px;
}
article form>dl,
article form>dl section {
    height: auto;
    opacity: 1;
    transition: opacity .5s;
}
article form>dl {
    border-top: 1px solid rgba(100,100,100,1);
    padding-top: 20px;
}
article form>dl.disabled,
article form>dl section.disabled,
article form>dl.disabled *,
article form>dl section.disabled * {
    height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .3s;
}
article form section>p {
    color: rgba(230,220,200,1);
    font-size: 16px;
    font-family: "A1 Mincho",serif;
    white-space: pre-wrap;
    letter-spacing: 0;
}
a.action,a.action:hover {display: block;}

/*Radio*/
ul.radio {
    font-size: 0;
    padding: 50px 0 0;
}
ul.radio>li {
    width: 40%;
    display: inline-block;
}
ul.select>li {min-width: 120px;}
ul.radio>li::before {
    content: "";
    width: 1em;
    height: 1em;
    background: rgba(255,255,255,1);
    border-radius: .5em;
}
ul.radio input {
    display: none;
}
ul.radio input ~ label {
    color: rgba(255,255,255,.6);
    font-size: 1.2rem;
    font-family: "游明朝体","Yu Mincho","游明朝 Medium", "Yu Mincho Medium","MS Mincho","MS PGothic",serif;
    margin-right: 0;
    padding-left: 1.5em;
    cursor: pointer;
    position: relative;
    transition: .5s;
}
ul.radio input:checked ~ label {
    color: rgba(255,255,255,1);
    transition: .5s;
}
ul.radio input ~ label::before, ul.radio input ~ label::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
}
ul.radio input ~ label::before {
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;
    top: 0;
    left: 0;
}
ul.radio input ~ label::after {
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0);
    top: 5px;
    left: 5px;
    transition: .3s;
    transform: scale(.5,.5);
}
ul.radio input:checked ~ label::after {
    background: rgba(0,0,0,.75);
    transform: scale(1,1);
    transition: .2s;
}

/*Select*/
/*ul.select>li {padding-right: 50px;}*/
ul.select li:before{display: none;}
ul.select li>label {
    display: block;
    position: relative;
}
ul.select li>label>select {
    width: 100%;
    height: 3.2rem;
    background: rgba(255,255,255,1);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 3px;
    font-size: 1.2rem;
    font-family: "游明朝体","Yu Mincho","游明朝 Medium", "Yu Mincho Medium","MS Mincho","MS PGothic",serif;
    letter-spacing: .1rem;
    display: block;
    margin-top: 50px;
    padding: .5rem 1rem;
    outline: 0;
    -webkit-appearance: none;
}
ul.select li>label[class*="birth"]::after {
    content: " ";
    border-top: calc(4.5 * 1.7320508px) solid rgba(100,100,100,1);
    border-right: 5px solid transparent;
    border-bottom: calc(5 * 1.7320508px) solid transparent;
    border-left: 5px solid transparent;
    display: block;
    position: absolute;
    top: 50%;
    right: 1.3rem;
    transform: translate(0,-3px);
    pointer-events: none;
}
label[class*="birth"]::before{
    content: "";
    color: rgba(0,0,0,1);
    font-size: .8rem;
    font-weight: 600;
    font-family: "游ゴシック","Yu Gothic","游ゴシック Medium", "Yu Gothic Medium","MS Gothic","MS PGothic",sans-serif;
    letter-spacing: .1rem;
    position: absolute;
    top: calc(50% + .15rem);
    left: 4.3em;
    transform: translate(0,-50%);
    pointer-events: none;
}
label[class*="birth"]>select {font-size: 1.5rem;}

article button[type="button"] {
    color: rgba(250,250,250,1);
    background: rgba(0,0,0,1);
    font-family: "A1 Mincho",serif;
    font-weight: 500;
    border-radius: 3px;
}
article button[type="button"]::before {
    font-size: 1.1rem;
    font-family: FontAwesome;
    margin-left: -.5rem;
    margin-right: .3rem;
    position: relative;
    top: .1rem;
}
article button[id^="next"][type="button"]::before {content: "\f138";}
article button[id^="prev"][type="button"]::before {content: "\f137";}
article button[type="button"], article button[type="submit"],
section[id$="G"]>a.submitButton {
    width: 60%;
    font-size: 16px;
    margin: 10px;
    padding: 20px;
    opacity: 1;
    transition: opacity .1s;
}
main dd button:first-of-type {margin: 30px 0 0;}
button#submit {
    background: rgba(215,30,30,.8);
    animation: grawarm 8s infinite;
}
button#submit::before {
    content: "";
    width: 30px;
    height: 30px;
    background: url(/medical/img/i_calte.svg) center / contain no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0;
    top: -2px;
}
article button[type="button"]:hover, article button[type="submit"]:hover {
    background: rgba(0,0,0,1);
    opacity: .8;
    transition: background .1s;
}
article button[type="button"].disabled, article button[type="submit"].disabled {display: none;}

/*common question*/
section#q1>dl {position: relative;}
section#q1>dl:first-of-type {margin-top: 20px;}
section#q1>dl>dt {
    color: rgba(255,255,255,1);
    font-weight: 600;
    position: absolute;
    right: 70%;
    top: 35px;
}
section#q1>dl ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
}
section#q1>dl ul:first-of-type {justify-content: flex-end;}
section#q1>dl ul>li {
    width: 47%;
    min-width: 100px;
    margin: 0;
    /* line-height: 1em; */
}
section#q1>dl ul:first-of-type li {
    width: 65%;
}
section#q1>dl ul.select li>label>select,
section#q1>dl ul.radio {
    margin-top: 20px;
}
section#q1>dl ul.radio {padding-top: 20px;}


/* responsive */

@media screen and (min-width: 500px) {
}



/* ------------------------------
	RESULTS COMMON & GENERATORS
------------------------------ */

article#result,
section[id$="G"] {
    width: 100%;
    max-width: 100%;
    background: transparent;
    background-size: cover;
    text-align: center;
}
article#result::before,
article#result::after,
section[id$="G"]::before,
section[id$="G"]::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
}
article#result::before,
section[id$="G"]::before {
    background: url(/medical/img/p_medical1.jpg) no-repeat;
    background-size: cover;
    opacity: .5;
    z-index: -1;
}
article#result::after,
section[id$="G"]::after {
    background: rgba(0,0,0,1);
    z-index: -2;
}
article#result>dl,
section[id$="G"]>dl {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
article#result>dl>dt,
article#result>dl>dd p,
article#result>dl>dd ul[class$="List"]::before,
section[id$="G"]>dl>dt,
section[id$="G"]>dl>dd label {
    color: rgba(230,230,230,1);
    font-family: "A1 Mincho",serif;
    white-space: pre-wrap;
    text-align: left;
}
article p>strong {color: rgba(255,255,255,1);}
article p i {
    font-style: normal;
    border-bottom: 1px solid rgba(255,255,255,1);
    padding-bottom: 3px;
}
article#result>dl>dt,
section[id$="G"]>dl>dt {
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 32px;
    text-align: center;
    padding-bottom: 3px;
    position: relative;
}
article#result h1 + dl>dt:first-of-type,
article#result>dl>dt.opened,
section[id$="G"]>dl>dt {border-bottom: 1px solid rgba(230,230,230,1);}


/* ------------------------------
	RESULTS COMMON ONLY
------------------------------ */
article#result h1 {
    color: rgba(250,240,220,1);
    margin-bottom: 30px;
}
article#result h1::before {
    content: "";
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: 3px;
}
article#result h1 + dl>dd:first-of-type {text-align: left;}
article#result>dl>dt>a,
article#result>dl>dt.opened + dd>a.close {
    width: 100px;
    height: 280px;
    background: url(/common/img/i_delimiter_wt.svg) no-repeat;
    background-size: 15px 45px;
    background-position: right center;
    position: absolute;
    display: block;
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    bottom: -120px;
    left: 50%;
    z-index: 1;
    transform: translate(-50%,0) rotate(90deg);
    transition: opacity .2s cubic-bezier(0.4, 0, 0.2, 1);
}
article#result>dl>dt.opened>a {
    opacity: 0;
    pointer-events: none;
}
article#result>dl>dd {
    height: 0;
    padding: 30px 0 50px;
    opacity: 0;
    position: relative;
    transition: height .5s cubic-bezier(0.4, 0, 0.2, 1);
}
article#result>dl:nth-of-type(1)>dd:nth-of-type(1) {
    height: auto;
    opacity: 1;
}
article#result>dl>dt + dd>a.close {display: none;}
article#result>dl>dt.opened + dd,
section[id$="G"].dl>dd {
    height: auto;
    padding-bottom: 100px;
    opacity: 1;
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);
}
article#result>dl>dt.opened + dd>a.close {
    width: 50px;
    background-position: left center;
    opacity: 1;
    bottom: -50px;
    transform: translate(-50%,0) rotate(-90deg);
    pointer-events: auto;
}
article#result>dl>dt.opened + dd>a.close::before,
article#result>dl>dt.opened + dd>a.close::after {display: none;}
article#result>dl>dd>p.explanation {
    font-size: 15px;
    letter-spacing: -.5px;
    line-height: 28px;
    border: 2px solid rgba(230,230,230,1);
    white-space: pre-wrap;
    padding: 20px;
    box-sizing: border-box;
}
article#result>dl>dd>p.explanation>a,
article#result>dl>dd>p.explanation>a:hover {
    color: rgba(201,180,150,1);
    font-size: 13px;
    font-family: "A1 Mincho",serif;
    background: rgba(0,0,0,.5);
    display: inline-block;
    padding: 10px;
}
article#result>dl>dd>p.explanation>a>strong {
    color: rgba(200,40,40,1);
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium","A1 Mincho"/*"Midashi Go MB31"*/,"MS PGothic",sans-serif;
}
article#result ul[class$="List"] {
    padding: 5px 0 15px;}
article#result ul.symptomList::before {content: "弁証：";}
article#result ul.treatmentList::before {content: "治則：";}
article#result ul[class$="List"]::before {
    font-size: 13px;
    letter-spacing: 1px;
}
article#result ul[class$="List"]>li {
    display: inline-block;
    margin: 0;
}
article#result ul[class$="List"]>li::before {content: ""; display: none;}
article#result ul[class$="List"]>li>a,
article#result ul[class$="List"]>li>a:hover {
    color: rgba(50, 150, 210, 1);
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0 .3em;
    text-decoration: none;
    display: inline-block;
}
article#result p.statistics {
    font-size: 15px;
    background: rgba(0,0,0,.6);
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
}
article#result p.statistics>strong {
    font-size: 18px;
    font-family: "A1 Mincho","MS Mincho","HiraMinProN-W3","Yu Mincho",serif;
    font-weight: 600;
    letter-spacing: .1em;
}
article#result p.statistics>strong:nth-of-type(1) {
    /*color: rgba(195,40,45,1);*/
    color: rgba(200,180,150,1);
}
article#result p.statistics + span {
    color: rgba(230,230,230,1);
    width: 100%;
    line-height: 30px;
    display: block;
    text-align: right;
}
article#result hr {
    width: 30%;
    margin: 20px auto;
}
article#result>dl>dd hr + p {
    color: rgba(70,180,250,1);
    font-weight: 600;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium","MS PGothic",sans-serif;
    line-height: 30px;
    letter-spacing: 1px;
}
article#result>dl>dd hr + p>span {
    color: rgba(70,180,250,1);
    font-size: 30px;
    font-weight: 600;
    font-family: "A1 Mincho","MS Mincho","HiraMinProN-W3","Yu Mincho",serif;
    line-height: 1em;
    letter-spacing: 1px;
    padding: 0 2px;
}
article#result hr + p + ul>li::before {display: none;}
article#result hr + p + ul>li>form>button[type="submit"] {
    color: rgba(250,250,250,1);
    width: 45%;
    display: inline-block;
    font-size: 13px;
    font-family: "A1 Mincho",serif;
    font-weight: 500;
    text-shadow: none;
    background: rgba(20,75,100,1);
    border: none;
    border-radius: 3px;
    margin: 10px 0;
    padding: 8%;
    cursor: pointer;
    outline: none;
    transition: background .3s;
}
article#result hr + p + ul>li>form>button[type="submit"]:nth-of-type(1) {margin-right: 5%;}
article#result hr + p + ul>li>form>button[type="submit"]:hover {
    background: rgb(75,120,135,1);
    transition: background .1s;
}
article#result hr + p + ul>li>form>button[type="submit"]::before {
    content: "";
    font-size: 20px;
    font-family: FontAwesome;
    margin-left: -5px;
    margin-right: 8px;
    position: relative;
    top: 2px;
}
article#result hr + p + ul>li>form>button[type="submit"]:nth-of-type(1)::before {content: "\f164";}
article#result hr + p + ul>li>form>button[type="submit"]:nth-of-type(2)::before {content: "\f217";}
article#result hr + p + ul>li>p {
    font-size: 14px;
    margin-top: 20px;
}
article#result dd>span.age,
article#result dd>span.condition,
article#result dd>span[class^="birth"] {
    color: rgba(255,255,255,.7);
    font-size: 17px;
    font-family: "A1 Mincho",serif;
    letter-spacing: 1.6px;
}
article#result dd>span.age,
article#result dd>span.condition,
article#result dd>span::before,
article#result dd>span::after {font-size: 15px;}
article#result dd>span.birthyear,
article#result dd>span.birthhour {padding-left: 8px;}
article#result dd>span.condition {color: rgba(240,230,210,.7); font-size: 13px; letter-spacing: 0;}
article#result dd>span.birthyear::after {content: "年 ";}
article#result dd>span.birthmonth::after {content: "月";}
article#result dd>span.birthday::after {content: "日";}
article#result dd>span.birthhour::after {content: "時";}
article#result dd>span.birthminute::after {content: "分生まれ";}
article#result dd>span.age::before {content: "（";}
article#result dd>span.age::after {content: "）";}
article#result dd>span.condition::before {
    content: "\A";
    white-space: pre-wrap;
}

/* ------------------------------
	GENERATORS ONLY
------------------------------ */

section[id$="G"] {
    width: 100%;
    height: 0;
    margin-top: 0;
    padding: 0;
    padding: 250px calc((100% - 250px)/2) 80px;
    box-sizing: border-box;
    background: rgba(255,255,255,.95);
    position: fixed;
    bottom: -50%;
    left: 0;
    opacity: 0;
    z-index: 1000;
    transition: all .1s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"].variable {
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    bottom: 0;
    opacity: 1;
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);  
}
section[id$="G"].disabled {
    height: 0;
    bottom: -50%;
    opacity: 0;
    pointer-events: none;
    transition: all .1s cubic-bezier(0.4, 0, 0.2, 1);  
}
section[id$="G"]::before,
section[id$="G"]::after {pointer-events: none;}
section[id$="G"]>figure {
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,.8);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 5;
    transition: opacity .2s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"].variable>figure {
    opacity: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"].disabled>figure {
    opacity: 0;
    transition: opacity .2s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>figure>figcaption {
    color: rgba(250,230,200,1);
    font-size: 12px;
    font-family: 'Arvo',"游ゴシック","Yu Gothic","游ゴシック Medium", "Yu Gothic Medium","MS Gothic","MS PGothic",sans-serif;;
    letter-spacing: 3px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    opacity: 1;
    transform: translate(-50%,0);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeloop 8s infinite;
}
section[id$="G"]>figure>figcaption.disabled {
    opacity: 0;
    animation: fadeout 1s 1;
}
section[id$="G"]>dl>dd>ul {
    font-size: 0;
    padding: 10px 0 15px;
    text-align: center;
}
section[id$="G"]>dl>dd>ul>li {
    width: 25%;
    height: auto;
    margin: 0;
    padding: 2px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    position: relative;
}
section[id$="G"]>dl>dd>ul>li::before,
section[id$="G"]>dl>dd>ul>li>input {display: none;}
section[id$="G"]>dl>dd>ul>li>label {
    width: 100%;
    height: auto;
    padding: 4.5px;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all .05s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>dl>dd>ul>li>input:checked + label {
    border: 2px solid rgba(250,230,200,1);
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>dl>dd>ul>li>label::before,
section[id$="G"]>dl>dd>ul>li>label::after {
    content: "";
    border-radius: 50%;
    transition: all .05s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>dl>dd>ul>li>label::before {
    width: 100%;
    background: rgba(80,120,150,.5);
    padding-top: 100%;
    z-index: -1;
}
section[id$="G"]>dl>dd>ul>li>input:disabled + label::after {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: rgba(255,255,255,.3);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    opacity: 0;
    transform: translate(-50%,-50%);
}
section[id$="G"]>dl>dd>ul>li>input:disabled + label {
    opacity: .75;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>dl>dd>ul>li>input:disabled + label::before {
    background: rgba(100,100,100,.5);
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>dl>dd>ul>li>input:disabled + label::after {
    opacity: 1;
    transition: opacity .2s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id$="G"]>dl>dd>ul>li>input:checked + label::before {
    background: rgba(200,180,160,.9);
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}
a.reset {
    color: rgba(50,150,210,1);
    margin-top: 50px;
}
section[id$="G"]>a.submitButton {
    display: block;
    max-width: 250px;
    margin: 20px auto;
}
section[id$="G"]>a.disabled {
    height: 0;
    padding: 0;
    pointer-events: none;
    opacity: 0;
}
section[id$="G"].disabled>a.scrollDown {display: none;}
section[id$="G"]>a.scrollDown {
    display: block;
    position: fixed;
    top: 100px;
    right: 25px;
    pointer-events: none;
    z-index: 10;
}
section[id$="G"]>a.scrollDown.invisible {
    opacity: 1;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeout 2s cubic-bezier(0.4, 0, 0.2, 1) .2s 1 forwards;
}



/* range slider */
div.layout-slider {padding: 50px 0;}
div.layout-slider::before, 
div.layout-slider::after {display: none;}
.jslider table {
    border-radius: 4px;
    overflow: hidden;
}
.jslider .jslider-bg {background: rgba(250,230,200,.5);}
.jslider-value>span {
    color: rgba(255,255,255,.8);
}
.jslider-value>span::after {
    content: "％";
}
.jslider-value-to>span::after {display: none;}

/* responsive */

@media screen and (min-width: 750px) {
    section[id$="G"] {padding: 250px calc(80 / 1000 * 100%) 80px calc(80 / 1000 * 100%);}
    article#result>dl,
    section[id$="G"]>dl {
        width: 280px;
        display: inline-block;
        vertical-align: top;
    }
    article#result>dl:nth-of-type(1),
    section[id$="G"]>dl:nth-of-type(1) {margin-right: calc((100% - 540px)/2);}
    article#result>dl>dt {border-bottom: 1px solid rgba(230,230,230,1);}
    article#result>dl>dd {
        height: auto;
        opacity: 1;
    }
    article#result>dl>dt>a,
    article#result>dl>dd>a.close {display: none;}
    section[id$="G"]>a.scrollDown {
        top: auto;
        bottom: 20px;
        right: 30px;
        opacity: 1;
        animation: fadeout 1s cubic-bezier(0.4, 0, 0.2, 1) 6s 1 forwards;
    }
}
@media screen and (min-width: 1015px) {
    article#result {padding: calc(5px + 35px + 30px) calc((100% - 840px)/2) 80px;}
    section[id$="G"] {padding: 250px calc((100% - 840px)/2) 80px;}
}