* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

a {
    text-decoration: none;
}

a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

ul {
    list-style: none;
}

header {
    background-color: #222;
    padding: 12px;
    line-height: 0;
    text-align: center;
}

header img {
    height: 60px;
}

.content {
    padding: 60px 40px;
}

.content-innner {
    margin: auto;
    max-width: 800px;
    width: 800px;
}

h2 {
    font-size: 32px;
    margin-bottom: 60px;
    text-align: center;
}

.bgDark h2 {
    color: #fff;
}

.bgDark {
    background-color: #222;
}

.videoList {
    display: flex;
    flex-wrap: wrap;
}

.videoList li {
    border: 1px #e0e0e0 solid;
    border-radius: 12px;
    font-size: 20px;
    line-height: 0;
    margin-bottom: 20px;
    text-align: center;
    width: 49%;
}

.videoList li:nth-child(even) {
    margin-left: 1%;
}

.videoList li:nth-child(odd) {
    margin-right: 1%;
}

.videoList li a {
    color: #222;
}

.videoList li img {
    border-radius: 12px 12px 0 0;
    width: 100%;
}

.videoList li span {
    display: block;
    padding: 28px 12px;
}

.videoList li a:hover span {
    opacity: 0.5;
}

.categoryList {
    display: flex;
    flex-wrap: wrap;
}

.categoryList li {
    background-color: #333;
    color: #fff;
    font-size: 20px;
    height: 162px;
    margin-right: 2%;
    margin-bottom: 20px;
    text-align: center;
    width: 23.5%;
}

.categoryList li:nth-child(4),
.categoryList li:nth-child(8) {
    margin-right: 0;
}

.categoryList li a {
    align-items: center;
    color: #fff;
    display: flex;
    height: 100%;
    justify-content: center;
}

.categoryList li img {
    width: 100%;
}

.bannerList {
    display: flex;
    flex-wrap: wrap;
}

.bannerList li {
    background-color: #333;
    color: #fff;
    font-size: 20px;
    margin-right: 2%;
    text-align: center;
    width: 49%;
}

.bannerList li:nth-child(2) {
    margin-right: 0;
}

.bannerList li a {
    align-items: center;
    color: #fff;
    display: flex;
    height: 100%;
    justify-content: center;
}

.bannerList li img {
    width: 100%;
}

.copyright {
    color: #fff;
    margin-top: 60px;
    text-align: center;
}

.copyright a {
    color: #fff;
}

/* SP */

#sp header img {
    height: 40px;
}

#sp .content {
    padding: 40px 12px;
}

#sp .content-innner {
    width: 100%;
}

#sp h2 {
    font-size: 24px;
    margin-bottom: 40px;
    text-align: center;
}

#sp .videoList li {
    font-size: 14px;
    margin-bottom: 12px;
    width: 48.5%;
}

#sp .videoList li:nth-child(even) {
    margin-left: 1.5%;
}

#sp .videoList li:nth-child(odd) {
    margin-right: 1.5%;
}

#sp .videoList li span {
    line-height: 1.5em;
    padding: 8px 8px;
    height: 4em;
}

#sp .videoList li:nth-child(1) span,
#sp .videoList li:nth-child(5) span,
#sp .videoList li:nth-child(6) span,
#sp .videoList li:nth-child(7) span,
#sp .videoList li:nth-child(8) span {
    line-height: 3em;
}

#sp .categoryList li,
#sp .bannerList li {
    font-size: 16px;
    height: 18.5vw;
    margin-right: 3%;
    width: 48.5%;
}

#sp .categoryList li {
    margin-bottom: 12px;
}

#sp .categoryList li:nth-child(2),
#sp .categoryList li:nth-child(4),
#sp .categoryList li:nth-child(6),
#sp .categoryList li:nth-child(8),
#sp .bannerList li:nth-child(2),
#sp .bannerList li:nth-child(4) {
    margin-right: 0;
}

#sp .copyright {
    font-size: 14px;
    margin-top: 40px;
}
