@charset "UTF-8";
/* 診断ツール用 */
.yesno {
    min-height: 250px;
    width: 100%;
    display: inline-block;
    position: relative;
    /* border: solid 2px #043d78; */
    padding: 2em 0;
    /* border-radius:20px;
    background:#fff; */
}
/* .yesno h3 {
    background: #ecf3fa;
    padding: 10px 1em;
    text-align: center;
    font-size: 1.2em;
} */
h3.question {
    background:transparent;
    text-align:center;
    font-size:1.3em!important;
    font-weight:bold;
    position: relative;
    display: block;
    margin:0 auto 2em;
}
h3.question:before {
    content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #ffde00;
  border-radius: 2px;
}
.yesno_question {
    background: #ecf3fa;
    padding: 10px 1em;
    text-align: center;
    font-size: 1.2em;
    width:95%;
    min-width:320px;
    margin:0 auto;
}
.yesno ul {
    padding-left: 1%;
}
.yesno ul li {
    list-style: none;
    float: left;
    text-align: center;
    display: block;
    color: #fff;
    line-height: 3;
}
.positionFit {
    /* position: absolute; */
    display: block;
    left: 0px;
    top: 20px;
}
.col_1 li {
    width: 100%;
    margin: 1%;
}
.col_2 li {
    width: 47%;
    margin: 1%;
}
.col_3 li {
    width: 31%;
    margin: 1%;
}
.yesno ul li a {
    /* color: #fff; */
    color:#0c2447;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    /* background-color: #036eb8; */
    background:#fff;
    border-radius: 50vh;
    border:1px solid #0c2447;
    line-height: 1.3em;
    padding: 1em 0.5em;
    font-size:.8em;
}
.yesno ul li a:hover {
    background:#0c2447;
    border:1px solid #0c2447;
    color:#fff;
    opacity:1;
}
.yesno ul li.goto_kids a,.yesno ul li.goto_aplus a,.yesno ul li.goto_juku a {
    color: #fff;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    border-radius: 50vh;
    line-height: 1.3em;
    padding: 1em 0.5em;
}
.yesno ul li.goto_kids a {
    background-color: #922A31;
    border:1px solid #922A31;
}
.yesno ul li.goto_aplus a {
    background-color: #ff5611;
    border:1px solid #ff5611;
}
.yesno ul li.goto_juku a {
    background-color: #043d78;
    border:1px solid #043d78;
}
.yesno ul li.goto_kids a:hover {
    background:#fff;
    border:1px solid #922A31;
    color:#922A31;
    opacity:1;
}
.yesno ul li.goto_aplus a:hover {
    background:#fff;
    border:1px solid #ff5611;
    color:#ff5611;
    opacity:1;
}
.yesno ul li.goto_juku a:hover {
    background:#fff;
    border:1px solid #043d78;
    color:#043d78;
    opacity:1;
}
.yesno ul li.aplus_all a {
    color: #fff;
    background:#c13800;
    border:1px solid #c13800;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    line-height: 1.3em;
    padding: 1em 0.5em;
    margin-bottom:.5em;
    border-radius:none;
}
.yesno ul li.aplus_all a:hover {
    background:#fff;
    border:1px solid #c13800;
    color:#c13800;
    opacity:1;
}
.yesno ul li.aplus_all a:after,.yesno ul li.goto_kids a:after,.yesno ul li.goto_aplus a:after {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    font-size:1.2em;
    font-weight:900;
    padding-left : 1em;
}

.backtostart {
    width:50%!important;
    margin:0 auto;
}
.yesno div[id^="q_"],
.yesno div[id^="a_"] {
    width: 100%;
    clear: both;
}
.yesno .answer_box {
    margin: 1em 0;
    padding: 1em;
    text-align: center;
}
.guide_txt {
    text-align:center;
    font-size:.8em;
    clear:both;
    margin-top:1em;
}
.yesno_detail {
    border-top:1px dashed #555;
    border-bottom:1px dashed #555;
    padding-top:1.5em;
    padding-bottom:1.5em;
    font-size:.9em;
}

/* scroll */
.scroll {
    overflow-x: auto;
}
.yesno-tool a.yn_btn {
    display: block;
    content: " ";
    margin-top: -60px; /* ずらす高さ */
    height: 60px; /* ずらす高さ */
    visibility: hidden;
    pointer-events: none;
}

@media screen and (min-width:1024px) {
.yesno {
    padding: 2em;
}
.yesno ul li a {
    width: 90%;
    margin:0 auto;
    font-size:1em;
}
.guide_txt {
    font-size:.9em;
}
}
