@charset "UTF-8";
main {
    margin-top: 100px;
    margin-bottom: 100px;
    padding-right: 2rem !important;
    padding-left: 2rem !important;
}

.page-title {
    border-bottom: 2px solid black !important;
    padding-bottom: 0.25rem !important;
    font-size: 2rem;
    margin-bottom: 20px;
}

.page-title-sm {
    border-bottom: 2px solid black !important;
    padding-bottom: 0.25rem !important;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.under-line-link {
    text-decoration: underline;
}

.dot-line {
    border: none;
    border-top: dashed 1px black;
    height: 1px;
    color: #FFFFFF;
    width: 100%;
}

.toggle_switch {
    display: table;
    font-size: 60px;
}

.bg-footer {
    background-color: #E9E5FF;
}

.bg-light-blue {
    background-color: #E7EDF5;
}

/*トグルスイッチ*/
.toggle_switch > input {
    display: none;
}

.toggle_switch > label {
    display: block;
    position: relative;
    width: 1.8em;
    height: 1em;
    border-radius: 1em;
    background-color: #2b2a2f;
    cursor: pointer;
}

.toggle_switch > input:checked + label {
    background-color: #4d93d2;
}

.toggle_switch > label::before {
    position: absolute;
    top: 0.05em;
    left: 0.05em;
    width: calc(1em - 0.1em);
    height: calc(1em - 0.1em);
    border-radius: calc(1em - 0.1em);
    background-color: #fff;
    transition: 0.5s;
    content: "";
}

.toggle_switch > input:checked + label::before {
    left: calc(100% - 1em + 0.05em);
}

/*/トグルスイッチ*/

/*bear-tile*/
.bear-tile {
    background: #e7edf5;
}

/*/bear-tile*/

/*balloon-left*/
.balloon-left {
    position: relative;
    display: inline-block;
    /*margin: 1.5em 0 1.5em 15px;*/
    /*margin: 1.5em 0 1.5em 20px;*/
    margin-left: 15px;
    padding: 20px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 14px;
    background: #FFF;
    border: solid 1px #555;
    box-sizing: border-box;
    border-radius: 10px;
}

.balloon-left:before {
    content: "";
    position: absolute;
    top: 40%;
    left: -16px;
    margin-top: -10px;
    border: 4px solid transparent;
    border-right: 12px solid #FFF;
    z-index: 2;
}

.balloon-left:after {
    content: "";
    position: absolute;
    top: 40%;
    left: -20px;
    margin-top: -12px;
    border: 6px solid transparent;
    border-right: 14px solid #555;
    z-index: 1;
}

.balloon-left p {
    margin: 0;
    padding: 0;
}

/*/balloon-left*/

/*balloon-top*/
.balloon-unit {
    position: absolute;
    z-index: 4;
    top: -40px;
    right: 0;
    width: 100%;
}

.balloon-top {
    position: relative;
    top: -15px;
    display: inline-block;
    margin: 1.5em 0;
    padding: 10px 5px;
    width: 100%;
    color: #555;
    font-size: 16px;
    background: white;
    border: solid 3px #555;
    box-sizing: border-box;
    z-index: 3;
    border-radius: 10px;
}

.balloon-top:before {
    content: "";
    position: absolute;
    top: -24px;
    /*left: 75%;*/
    right: 65px;
    margin-left: -17px;
    border: 9px solid transparent;
    border-bottom: 20px solid #FFF;
    z-index: 2;
}

.balloon-top:after {
    content: "";
    position: absolute;
    top: -30px;
    /*left: 75%;*/
    right: 65px;
    margin-left: -17px;
    border: 9px solid transparent;
    border-bottom: 20px solid #555;
    z-index: 1;
}

.balloon-top p {
    margin: 0;
    padding: 0;
}

/*/balloon-top*/

/*balloon-right*/
.balloon-right {
    position: relative;
    display: inline-block;
    /*margin: 1.5em 0 1.5em 15px;*/
    /*margin: 1.5em 0 1.5em 20px;*/
    margin-right: 15px;
    padding: 20px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 14px;
    background: #FFF;
    border: solid 1px #555;
    box-sizing: border-box;
    border-radius: 10px;
}

.balloon-right:before {
    content: "";
    position: absolute;
    top: 40%;
    right: -16px;
    margin-top: -10px;
    border: 4px solid transparent;
    border-left: 12px solid #FFF;
    z-index: 2;
}

.balloon-right:after {
    content: "";
    position: absolute;
    top: 40%;
    right: -20px;
    margin-top: -12px;
    border: 6px solid transparent;
    border-left: 14px solid #555;
    z-index: 1;
}

.balloon-right p {
    margin: 0;
    padding: 0;
}

/*/balloon-right*/

.difficulty {
    display: none;
}

.difficulty-label {
    /*background-color: red;*/
    border: grey solid 1px;
    border-radius: 30px;
    padding: 6px 14px;
}

.difficulty:checked + label {
    background-color: #4d93d2;
    color: white;
}

/*help-accordion*/
#accordion_menu > ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#accordion_menu > li {
    border: #ccc 1px solid;
    margin-bottom: -1px;
}

#accordion_menu a {
    color: #666;
}

#accordion_menu a[data-toggle="collapse"] {
    display: block;
    padding: 10px;
    padding-left: 0;
    text-decoration: none;
    position: relative;
}

/*#accordion_menu a[data-toggle="collapse"]:hover{*/
/*    background: #e7e7e7;*/
/*}*/

#accordion_menu a[data-toggle="collapse"]::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: #666 1px solid;
    border-right: #666 1px solid;
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    margin: auto;
}

#accordion_menu a[aria-expanded=false]::after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-duration: 0.3s;
    margin-left: 5px;
}

#accordion_menu a[aria-expanded=true]::after {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    transition-duration: 0.3s;
}

[id^="menu"] li {
    padding: 10px;
}

/*/help-accordion*/

.arrow-round {
    position: relative;
    display: inline-block;
    padding: 10px;
    border: 1px solid grey;
    border-radius: 50%;
    /*top: 5px;*/
    width: 30px;
    height: 30px;
}

.arrow-round::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 2px grey;
    border-right: solid 2px grey;
    position: absolute;
    left: 3px;
    top: 9px;
}

.arrow-round.arrow-top::before {
    transform: rotate(-45deg);
    top: 7px;
}

.arrow-round.arrow-bottom::before {
    transform: rotate(135deg);
    top: 4px;
}

.arrow-round.arrow-left::before {
    transform: rotate(-135deg);
    left: 10px;
}

.arrow-round.arrow-right::before {
    transform: rotate(45deg);
    left: 6px;
}

/*Chart.js*/
.canvas-container {
    position: relative;
    width: calc(100% - 5px);
    /*height: 400px;*/
    overflow: hidden;
    margin: 5px;
}

/*/Chart.js*/

.maru {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    line-height: 36px;
    text-align: center;
    font-size: 20px;
    border: black solid 1px;
}

.maru-active {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    line-height: 36px;
    text-align: center;
    font-size: 20px;
    border: #4d93d2 solid 1px;
    background-color: #4d93d2;
    color: white;
}

.catch {
    display: flex;
    align-items: center; /* 垂直中心 */
    justify-content: center; /* 水平中心 */
}

.catch:before {
    border-top: 1px solid;
    content: "";
    width: 2em; /* 線の長さ */
}

.help-bar {
    margin-top:57px;
    background: #0c407e;
    font-size: 1.00rem;
}

.help-bar a {
    color: #f1c415;
    text-decoration-line: underline;
}

.w-80px {
    width: 80px !important;
}

.w-120px {
    width: 120px !important;
}

.bear-next {
    background-color: #4d93d2;
    color: white;
}

.change-fortune {
    background-color: #4d93d2;
    color: white;
}

.bear-prev {
    background-color: white;
    color: black;
    border: solid black 1px;
}

.color-very-poor {
    color: #609cc9;
}

.color-poor {
    color: #52b08f;
}

.color-good {
    color: #8aba3e;
}

.color-very-good {
    color: #e38d3a;
}

.color-excellent {
    color: #df3438;
}

@media (min-width: 1280px) {
    .w-md-50 {
        width: 30%;
        right: 35%;
        left: 35%;
    }

}


