body {
    background: #f8f8f8;
    height: 100%;
    width: 100%;
    font-family: Raleway, 'Noto Sans Japanese', sans-serif;
    margin: 0;
    padding: 0;
}

/* PvP Ranking */
#kill,#killdeath {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
}
.first {
    color: #FFD700;
}
.second {
    color: #C0C0C0;
}
.third {
    color: #cd7f32;
}
.ranking {
    display: inline-block;
    width: 90%;
    vertical-align: top;
    margin-right: 5%;
    margin-left: 15%;
    margin-bottom: 5%;
    margin-top: 0;
    text-decoration: none;
    font-size: 100%;
    color: #585858;
    transition: 0.2s;
}
#main {
    width: 100%;
    margin-top: 0;
    margin-right: auto;
    margin-left : auto;
    text-align: center;
}
#main p {
    margin-top: 30px;
    font-size: 1.3em;
}
header {
    width: 100%;
    text-align: center;
    height: 10%;
}

#left-right{
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    display: flex;
}
#left {
    width: 70%;
    margin-top: 0;
}
#right {
    width: 30%;
    margin-top: 0;
}
#wrap {
    overflow:hidden;
    width: 100%;
}
#impression {
    width: 100%;
    height: 100vh;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    background: #000;
}
#impression p {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    font-size: 50px;
    color: #fff;
    margin:0;
    padding:0;
}
#impression .fa {
    position: absolute;
    top: 30%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    font-size: 80px;
    color: rgba(255,255,255,0.7);
}
#impression video {
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    object-fit: cover;
    filter: opacity(100%) blur(0px);
}

.dot-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.dot-overlay::before {
    background: url(image/dot.svg);
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.button {
    position: absolute;
    width: 10%;
    text-align: center;
    top: 70%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
    padding: 0.5%;
    font-size: 20px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    color: white;
    background-color: transparent;
    text-decoration: none;
}
.button a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
}
.button:before, .button:after {
    content: '';
    position: absolute;
    top: -7px;
    width: 2px;
    height: calc(100% + 14px);
    background-color: #fff;
    transition: .3s;
}
.button:hover:before {
    left: 7px;
}
.button:hover:after {
    right: 7px;
}
.button:before{
    top: 0px;
    left:0;
    height: 100%;
}
.button:after{
    top: 0px;
    right: 0;
    height: 100%;
}

#name {
    background: #424242;
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 35px;
    color: #ffffff;
    line-height: 40px;
    margin-bottom: 0;
}

/* Feature */
#feature {
    text-align: center;
    margin-top: 2%;
    margin-bottom: 3%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 80%;
}
#feature p {
    margin-bottom: 2%;
    margin-top: 2%;
}
.feature-grid {
    display: inline-block;
    height: 50%;
    padding: 1%;
    width: 19%;
    margin-left: 2%;
    margin-right: 2%;
    text-align: center;
    vertical-align :top;
}
.feature-grid span {
    font-size: 12px;
    text-align: center;
}
#feature-grids {
    text-align: center;
}
.btn01 {
    text-decoration: none;
    border-radius: 50%;
}
.btn01:hover {
    transform: rotate(360deg);
    transition: linear 1s;
    -webkit-transform: rotate(360deg);
}
.btn02 {
    text-decoration: none;
}
.btn02:hover {
    animation: shake 0.2s linear infinite;
    -webkit-animation: shake 0.2s linear infinite;
}

/* Main Menu */
#main-menu {
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding-bottom: 5%;
}
#main-menu p {
    font-size: 100%;
    color: #808080
}
.main-menu-grids {
    text-align: center;
    width: 100%;
}
.main-menu-grid {
    display: inline-block;
    height: 50%;
    padding-bottom: 0;
    padding-left: 4%;
    padding-right: 4%;
    width: 31%;
    text-align: center;
    vertical-align: top;
}
.main-menu-grid img {
    max-width: 80%;
    height: auto;
    border-radius: 20%;
    border: 5px solid #e6e6e6 ;
    transition: border 0.2s;
}
.main-menu-grid img:hover {
    border: 5px solid #F781BE ;
    transition: border 0.3s;
}

.box-wrap {
    background: #fafafa;
    padding: 10px 15px 10px 10px;
    border-radius: 0px;
    border: solid 1px #f4f4f4;
}
.box {
    display: inline-block;
    width: 90%;
    background: #fff;
    border-radius: 0px;
    border: solid 1px #f2f2f2;
}
.box-heading {
    margin: 3%;
    border-bottom: solid 1px #fafafa;
    font-size: 125%;
}
.box a {
    display: block;
    text-decoration: none;
    border-bottom: solid 1px #fafafa;
}

/* News */
#news {
    width: 100%;
    margin: 0;
    margin-top: 20px;
    color: #585858;
}
#news .box-heading {
    text-decoration: none;
    transition: 0.2s;
    color: #000;
}
#news a:hover {
    color: #F781BE;
    transition: 0.2s;
}
.news {
    display: inline-block;
    width: 90%;
    vertical-align: top;
    margin-right: 5%;
    margin-left: 5%;
    margin-bottom: 1.5%;
    margin-top: 0;
}
.news span {
    color: #585858;
}
.news p {
    border-top: solid 1px #bdbdbd;
    border-bottom: solid 1px #bdbdbd;
}
.news a:hover {
    color: #F781BE;
    transition: 0.2s;
}
.news a {
    display: block;
    text-decoration: none;
    font-size: 115%;
    color: #585858;
    transition: 0.2s;
}
.news span {
    color: #424242;
    width: 100%;
    height: 100%;
}

/* Blog */
#blog {
    width: 100%;
    margin: 0;
    margin-top: 20px;
    padding-bottom: 5%;
}
.blog-grid {
    width: 100%;
    text-align: center;
}
.blog {
    display: inline-block;
    width: 30%;
    object-fit: cover;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 0;
    text-align: center;
    vertical-align: top;
    pointer-events: none;
}
.blog a {
    display: block;
    text-decoration: none;
    font-size: 90%;
    color: #585858;
    margin: 0;
    transition: 0.2s;
}
.blog a:hover {
    color: #F781BE;
    transition: 0.2s;
}
.blog img {
    width: 100%;
    height: 19vh;
    object-fit: cover;
    transition: 0.1s;
}
.blog img:hover {
    /*height: 18vh;
    margin-bottom: -1vh;*/
    transition: 0.2s;
    filter: blur(1px);
}

/* photo */
#photo {
    width: 100%;
    margin: 0;
    margin-top: 20px;
    padding-bottom: 5%;
}
.photo-grid {
    width: 100%;
    text-align: center;
}
.photo {
    display: inline-block;
    width: 25%;
    object-fit: cover;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 0;
    text-align: center;
    vertical-align: top;
    pointer-events: auto;
}
.photo img {
    width: 100%;
    height: 19vh;
    object-fit: cover;
    transition: 0.2s;
}
.photo img:hover {
    transition: 0.2s;
    filter: blur(1px);
}

.sk-folding-cube {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    transform-origin: top left;
}

.sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
    animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
    transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
    transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
    transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
.sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    } 25%, 75% {
          -webkit-transform: perspective(140px) rotateX(0deg);
          transform: perspective(140px) rotateX(0deg);
          opacity: 1;
      } 90%, 100% {
            -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
            opacity: 0;
        }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    } 25%, 75% {
          -webkit-transform: perspective(140px) rotateX(0deg);
          transform: perspective(140px) rotateX(0deg);
          opacity: 1;
      } 90%, 100% {
            -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
            opacity: 0;
        }
}

/* Dropdown */
.dropdown {
    margin: 0 0 0 auto;
    position: relative; /* 絶対配置の基準を設定 */
}
.dropdown__btn {
    display: block;
    width: 1.5em;
    padding: 0;
    background: none; /* デフォルトスタイル リセット */
    border: 0; /* デフォルトスタイル リセット */
}
.dropdown__body {
    width: 250px;
    background: #fff;
    box-shadow: 0 2px 6px 2px rgba(60,64,67,0.149), 0 1px 2px 0 rgba(60,64,67,0.302);
    border-radius: 4px;
    overflow: hidden;
    position: absolute; /* メニュー部分は絶対配置させます */
    top: 32px;
    left: 0;
}
.dropdown__list { /* デフォルトスタイル リセット */
    margin: 0;
    padding: 0;
}
.dropdown__item {
    display: block;
}
.dropdown__item-link {
    display: block;
    padding: 0.7em 0.8em;
    font-size: 0.95em;
    text-decoration: none;
    color: #444;
}
.dropdown__item-link:hover {
    background: #fbfbfb;
}
.dropdown__body {
    display: none;
    transition: 0.5s;
}
.dropdown__btn.is-open + .dropdown__body {
    display: block;
    z-index: 4;
    transition: 0.5s;
}




@media screen and (orientation: portrait) {
    body {
        margin: 0;
    }
    .icon {
        display: none;
    }
    #main {
        display: none;
    }
    #left-right{
        display: block;
        width: 100%;
    }
    #left {
        float: none;
        width: 100%;
        margin: 0;
    }
    #right {
        float: right;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-right: 0;
        background: #fff;
    }
    #footer {
        height: 80px;
    }
    #footer p {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
    #footer a {
        display: none;
    }
    #impression {
        height: 95vh;
        width: 100%;
        overflow: hidden;
    }
    #event {
        width: 100%;
        margin-top: 20px;
    }
    #ads {
        width: 100%;
        height: 150px;
    }
    .photo {
        display: inline-block;
        width: 30%;
        object-fit: cover;
        margin: 3px 0 3px 0;
        padding: 0;
        text-align: center;
        vertical-align: top;
        pointer-events: auto;
    }
    .photo img {
        width: 21vmin;
        height: 21vmin;
        object-fit: cover;
        border: solid 3px #fff;
        border-radius: 15px;
    }
    .photo img::before{
        content: "";
        display: block;
        padding-top: 100%;
    }
    .main-menu-grid img {
        max-width: 90%;
        height: auto;
        border-radius: 20%;
        border: 3px solid #e6e6e6 ;
    }
    .main-menu-grid img:hover {
        border: 2px solid #F781BE ;
    }
    .button {
        position: absolute;
        width: 30%;
        text-align: center;
        top: 70%;
        left: 50%;
        -ms-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        margin: 0;
        padding: 2%;
        font-size: 20px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        color: white;
        background-color: transparent;
        text-decoration: none;
    }
}

/*@media screen and (orientation: landscape) and (max-aspect-ratio: 4/3) {*/
@media screen and (orientation: landscape) and (max-width: 1400px) {
    body {
        margin: 0;
    }
    .icon {
        max-width: 100px;
    }
    #feature {
        display: none;
    }
    #impression {
        height: 95vh;
        width: 100%;
        overflow: hidden;
    }
    #impression video {
        filter: none;
    }
    .photo {
        display: inline-block;
        width: 30%;
        object-fit: cover;
        margin: 3px 0 3px 0;
        padding: 0;
        text-align: center;
        vertical-align: top;
        pointer-events: auto;
    }
    .photo img {
        width: 21vmin;
        height: 21vmin;
        object-fit: cover;
        border: solid 3px #fff;
        border-radius: 15px;
    }
    .photo img::before{
        content: "";
        display: block;
        padding-top: 100%;
    }
    .main-menu-grid img {
        max-width: 90%;
        height: auto;
        border-radius: 20%;
        border: 3px solid #e6e6e6 ;
    }
    .main-menu-grid img:hover {
        border: 2px solid #F781BE ;
    }
    .button {
        position: absolute;
        width: 10%;
        text-align: center;
        top: 70%;
        left: 50%;
        -ms-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        margin: 0;
        padding: 0.8%;
        font-size: 20px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        color: white;
        background-color: transparent;
        text-decoration: none;
    }
}
/*@media screen and (orientation: landscape) and (max-aspect-ratio: 3/2) {*/
@media screen and (orientation: landscape) and (max-aspect-ratio: 3/2) {
    #feature {
        display: none;
    }
}

@keyframes shake {
    0% { transform: translate(3px, 2px) rotate(0deg); }
    10% { transform: translate(-2px, -3px) rotate(-1deg); }
    20% { transform: translate(-4px, 0px) rotate(1deg); }
    30% { transform: translate(0px, 3px) rotate(0deg); }
    40% { transform: translate(2px, -2px) rotate(1deg); }
    50% { transform: translate(-2px, 3px) rotate(-1deg); }
    60% { transform: translate(-4px, 2px) rotate(0deg); }
    70% { transform: translate(3px, 2px) rotate(-1deg); }
    80% { transform: translate(-2px, -2px) rotate(1deg); }
    90% { transform: translate(2px, 4px) rotate(0deg); }
    100% { transform: translate(2px, -3px) rotate(-1deg); }
}

