@charset "UTF-8";
/* 診断ツール用 */
.yesno {
    height: 400px;
    width: 100%;
    display: inline-block;
    position: relative;
    /* border: solid 2px #043d78;
    padding: 2em;
    background:#fff ;
    margin-bottom: 5em; */
}

.yesno h3 {
    text-align: center;
    font-size:1.3em;
    font-weight:bold;
    margin-bottom: 1.5em;
    position:relative;
}
.yesno h3:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #043d78;
  border-radius: 2px;
}
.yesno ul {
    padding-left: 0;
}
.yesno ul li {
    list-style: none;
    float: left;
    text-align: center;
    display: block;
    color: #fff;
    line-height: 3;
    font-size:.75em;
}
.yesno ul li::hover {
    filter: none;
    transform: translateY(2px);
    transition: 0.1s;
}
.chart {
    height:440px;
}
.chart_detail {
    text-align: center;
    font-size: 0.7em;
    clear:both;
}
@media screen and  (min-width:1024px) {
.chart {
    height:400px;
}
.chart_detail {
    font-size:.8em;
}
}

.col_3 li {
    width: 31%;
    margin: 1%;
}
.col_2 li {
    width: 47%;
    margin: 1%;
}
.col_1 li {
    width: 100%;
    /* max-width:400px; */
    margin: 1%;
    /* margin:0 auto; */
}

.yesno ul li a {
    color: #043d78;
    /* font-weight:bold; */
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 50vh;
    border: 2px solid #043d78;
    line-height: 1.3em;
    padding: 1em 0.25em;
    margin-bottom:.5em;
    position: relative;
    overflow: hidden;
}
.yesno ul li a:hover {
    background-color:#45b6cc;
    border:2px solid #45b6cc;
    color:#fff;
    transform: translateY(2px);
    box-shadow: none;
	transition:.3s;
	opacity:1;
}
.yesno ul li a.info_btn {
    background:#F37C06!important;
    color:#fff;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 50vh;
    border: 1px solid #F37C06;
    line-height: 1.3em;
    padding: 1em 0.25em;
    margin-bottom:.5em;
    position: relative;
    overflow: hidden;
}
.yesno ul li a.return_btn {
    background:#043d78!important;
    color:#fff;
    text-decoration: none;
    height: 30px;
    width: 100%;
    display: block;
    border-radius: 50vh;
    border: 1px solid #F37C06;
    line-height: 1.3em;
    padding: 1em 0.25em;
    margin-bottom:.5em;
    position: relative;
    overflow: hidden;
}

.yesno ul li a::before {
    content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  /* background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
  -webkit-transition: 0.5s; */
  transition: 0.5s;
}
.yesno ul li a:hover::before {
    animation: shine 1s;
}
.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: .75em 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;
} */



@keyframes shine {
    100% {
        left: 125%;
    }
}


.yesno div[id^="q_"] {
    width: 100%;
    clear: both;
}
.yesno .answer_box {
    margin: 1em 0;
    padding: 1em;
    text-align: center;
}
/* scroll */
.scroll {
    overflow-x: auto;
}
section .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 ul li {
    font-size:1em;
}
.yesno ul li a {
    padding: 1em .5em;
}

.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%;
}

}