@charset "UTF-8";
.index_wrapper {
    border-bottom: dashed 2px #666;
    padding-bottom: 2rem;
}

.index_wrapper h2 {
    text-align: center;
    margin: 2rem 0;
}

.index_wrapper ul {
    font-size: 1.3rem;
    display: flex;
    flex-wrap: wrap;
}

.index_wrapper ul li a {
    color: #0099cc;
    line-height: 2;
    margin-right: 3rem;
}

.sub_contents_wrapper {
    margin-top: 4rem;
}

@media (min-width:768px) {
    .sub_contents_wrapper {
        margin-bottom: 7rem;
    }
}

.sub_contents_wrapper h2 {
    color: #0055cc;
    font-size: 1.6rem;
}

.sub_contents_wrapper h2+div {
    margin-bottom: 2rem;
}

@media (min-width:768px) {
    .sub_contents_wrapper .flex_box {
        display: flex;
    }
    .sub_contents_wrapper .flex_box div:nth-child(1) {
        flex-basis: 77%;
        word-break: break-all;
        order: 2;
    }
    .sub_contents_wrapper .flex_box div:nth-child(2) {
        margin-right: 3.6rem;
        order: 1;
    }
}

.sub_contents_wrapper p {
    margin-bottom: 2rem;
}

.sub_contents_wrapper p a {
    color: #0055cc;
}

.sub_contents_wrapper div:nth-child(2)>a img {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.sub_contents_wrapper figure a>img {
    max-width: 100%;
}

@media (min-width:768px) {
    .sub_contents_wrapper figure a>img {
        max-width: 65%;
    }
}

.sub_contents_wrapper figure {
    margin-bottom: 4rem;
}

.sub_contents_wrapper figcaption {
    margin-bottom: 0;
}

.list li {
    margin-bottom: 2em;
    padding-left: 1em;
    text-indent: -1em;
}

.box {
    border: solid 2px #333;
    padding: 1em 1em 0 1em;
    margin-bottom: 3rem;
    display: inline-block;
}
