@charset "UTF-8";

/* ---------------------------------------
共通
--------------------------------------- */

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Ubuntu Condensed", "Droid Sans Mono", "Meiryo", "游ゴシック", "Yu Gothic", "YuGothic", "ヒラギノゴシック Pro", "Hiragino Gothic Pro", "ヒラギノゴシック ProN", "Hiragino Gothic ProN", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    position: relative;
}

h2,
h3,
h4,
h5,
h6 {
    padding: 1rem 1rem .4rem 1rem;
    border-bottom: #fff 1px dashed;
}

h1 {
    padding: 1.5rem 1rem .4rem 1rem;
    font-size: 1.6rem;
    line-height: 1.7rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 1.0rem;
}

h6 {
    font-size: .9rem;
}

p {
    padding: .5rem;
    line-height: 1.5rem;
}

b {
    font-weight: bold;
}

a {
    color: #64a7ed;
    text-decoration: underline;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

ul,
ol {
    list-style-position: inside;
}

ul {
    list-style-type: disc;
}

li {
    line-height: 1.6rem;
}

li>ol,
li>ul,
li>ol,
li>ul {
    margin-left: 1rem;
}

select {
    appearance: auto;
}

button {
    padding: 0;
}

blockquote {
    margin: 1rem;
    border-left: 2px solid #fff;
}

blockquote>p {
    padding: 1rem .5rem;
}

blockquote>cite {
    text-align: right;
    display: block;
    font-size: .8rem;
    color: #ccc;
}


/* テーブル */

.wp-block-table {
    margin: .5rem 0;
}

table thead th,
table tbody th,
table tbody td {
    padding: 0 .5rem;
    border-bottom: 1px solid #fff;
    line-height: 150%;
}

table thead th+th,
table tbody td {
    border-left: 1px solid #fff;
}

table tbody tr td:first-child {
    border-left: none;
}

table tbody tr:last-child th,
table tbody tr:last-child td {
    border-bottom: none;
}

table tbody tr:last-child th,
table tbody tr:last-child td {
    border-bottom: none;
}

table tbody td {
    white-space: normal;
    padding: .2rem 1rem .2rem .4rem;
}

.wp-block-table table {
    border: 1px solid #fff;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: .3rem;
    overflow: hidden;
}

.wp-block-table.is-style-regular {
    display: block;
}

.wp-block-table.is-style-regular tbody {
    border: #fff 1px solid;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    color: #000;
}

.wp-block-table.is-style-stripes {
    border-bottom: none;
    display: block;
}

.wp-block-button__link {
    font-size: .9rem;
    padding: .6rem;
}

.wp-block-image {
    margin: .5rem 1rem;
}

.wp-block-image img {
    height: auto;
}

.article-content {
    padding: 0 5px;
}


/* フレームの白の枠線 */

.border {
    border: 5px solid #fff;
    border-radius: 10px;
    height: 100%;
    padding: 5px;
    width: 100%;
}


/* メニュー(共通) */

.right-menu {
    color: #fff;
    font-weight: bold;
}

.right-menu ul {
    margin: 0;
}

.right-menu a {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.5rem;
    text-decoration: underline;
    color: #64a7ed;
}

.right-menu a[href="#"] {
    margin-top: .4rem;
    cursor: default;
    text-decoration: none;
    color: #ffffff;
}

.right-menu ul li ul {
    margin-top: .2rem;
    margin-bottom: .2rem;
    margin-left: 16px;
}

.right-menu ul li ul li {
    margin-bottom: .15rem;
    position: relative;
}

.right-menu ul li ul li::before {
    content: "";
    position: absolute;
    top: -.5rem;
    left: -8px;
    width: 10px;
    height: calc(100% + .75rem);
    border-left: 1px dashed #64a7ed;
}

.right-menu ul li ul li:last-child::before {
    height: calc(1em + .25em);
}

.right-menu ul li ul li::after {
    content: "";
    position: absolute;
    top: .6em;
    left: -8px;
    width: 10px;
    border-bottom: 1px dashed #64a7ed;
}


/* 汎用ポップアップ */

.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: rgba(0, 0, 0, .8);
    opacity: 0;
}

.popup-wrapper {
    border: 5px solid #fff;
    padding: .5rem;
    background-color: #000;
    position: absolute;
    border-radius: 10px;
    top: 20%;
    left: calc(50% - min(95%, 800px) /2);
    max-width: 800px;
    width: 95%;
    height: 50%;
}

#common-popup-wrapper h2 {
    border-bottom: 2px solid #fff;
}

#common-popup-content {
    max-height: Calc(100% - 4rem);
    overflow-y: auto;
}

#common-popup-close-icon {
    position: absolute;
    top: -4rem;
    right: 0;
    padding: 1rem;
    cursor: pointer;
    pointer-events: auto;
}

#common-popup-bg.show-popup,
#youtube-bg.show-popup {
    opacity: 1;
    -webkit-animation: show-popup .4s ease-in;
    -moz-animation: show-popup .4s ease-in;
    animation: show-popup .4s ease-in;
}

#common-popup-bg.close-popup,
#youtube-bg.close-popup {
    -webkit-animation: close-popup .4s ease-in;
    -moz-animation: close-popup .4s ease-in;
    animation: close-popup .4s ease-in;
}

@keyframes show-popup {
    /** 開始時は１倍の大きさ */
    0% {
        opacity: 0;
    }
    30% {
        opacity: .1;
    }
    50% {
        opacity: .7;
    }
    /** 終了時は元の大きさに戻す */
    100% {
        opacity: 1;
    }
}

@keyframes close-popup {
    /** 開始時は１倍の大きさ */
    0% {
        opacity: 1;
    }
    30% {
        opacity: .7;
    }
    50% {
        opacity: .1;
    }
    /** 終了時は元の大きさに戻す */
    100% {
        opacity: 0;
    }
}


/* YouTube用 */

.youtube-player-thumb img,
.youtube-image-wrapper {
    width: 480px;
    height: auto;
}

.youtube-player-thumb {
    display: flex;
    justify-content: center;
    padding: .5rem 0;
    width: 100%;
}

.runner .youtube-image-wrapper,
.runner .youtube-player-thumb,
.runner .youtube-player-thumb img {
    max-width: 320px;
    width: auto;
}

.youtube-image-wrapper {
    position: relative;
}

#youtube-bg i {
    color: #fff;
    position: absolute;
    width: 100%;
    text-align: right;
    top: -2.5rem;
    padding-right: 1.5rem;
}

.youtube {
    width: 90%;
    max-width: 1280px;
    height: calc(min(90vw, 1280px) / 16 * 9);
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

#youtube-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* レイアウト用 */

.wp-block-image+*+* {
    clear: both;
}

.flex-dir-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.flex-dir-row-nowrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.flex-dir-row-child>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.flex-dir-col {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.flex-dir-col-child>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}


/* ---------------------------------------
トップバー・広告
--------------------------------------- */

#main-header {
    height: 47px;
    display: block;
}

.header-wrapper {
    z-index: 3;
    width: 100%;
    height: 47px;
    top: 0;
    position: fixed;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #000;
}

.header-wrapper:focus-within .bg {
    visibility: visible;
    opacity: .6;
}

.header-wrapper i {
    font-size: 1rem;
}

.header-ribbon {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    height: 47px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#ad-wrapper a{
	display:block;
	text-align:center;
}

#ad-wrapper img{
    width: 100%;
	max-width: 480px;
}


/*大会選択メニュー*/

#rib-select {
    margin-right: 10px;
    padding: 5px 20px;
    background-color: #555;
    color: #fff;
    width: 200px;
    max-width: 60%;
}

#info-button,
#mobile-menu-button {
    width: 35px;
    height: 35px;
    align-items: center;
    position: relative;
    justify-content: center;
    -webkit-appearance: none;
    border: solid 2px #fff;
    border-radius: .4rem;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

#info-button {
    color: rgba(0, 0, 0, 1);
    background-color: rgba(255, 255, 255, 1);
    margin-right: .2rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: scale(1);
    transition: color .3s, border-color .3s;
}

#info-button i {
    color: #000;
}

.bounce {
    -webkit-animation: click-bounce .4s ease-in, click-color .4s ease-in;
    -moz-animation: click-bounce .4s ease-in, click-color .4s ease-in;
    animation: click-bounce .4s ease-in, click-color .4s ease-in;
}

@keyframes bound {
    /** 開始時は１倍の大きさ */
    from {
        transform: scale(1);
    }
    /** 0%～25%にかけて1.15倍する */
    10% {
        transform: scale(.9);
    }
    /** 25%～50%にかけて0.95倍する */
    25% {
        transform: scale(1.2);
    }
    /** 0%～25%にかけて1.15倍する */
    40% {
        transform: scale(.9);
    }
    /** 25%～50%にかけて0.95倍する */
    50% {
        transform: scale(1.1);
    }
    /** 50%～75%にかけて1.05倍する */
    75% {
        transform: scale(.95);
    }
    /** 終了時は元の大きさに戻す */
    100% {
        transform: scale(1);
    }
}

@keyframes click-bounce {
    /** 開始時は１倍の大きさ */
    from {
        transform: scale(1);
    }
    /** 0%～25%にかけて1.15倍する */
    10% {
        transform: scale(.9);
    }
    40% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.5);
    }
}

@keyframes click-color {
    /** 開始時は１倍の大きさ */
    from {
        color: rgba(0, 0, 0, 1);
        border-color: rgba(255, 255, 255, 1);
        background-color: rgba(255, 255, 255, 1);
    }
    70% {
        color: rgba(255, 255, 255, .1);
        border-color: rgba(255, 255, 255, .2);
        background-color: rgba(255, 255, 255, .2);
    }
    100% {
        color: rgba(255, 255, 255, 0);
        border-color: rgba(255, 255, 255, 0);
        background-color: rgba(255, 255, 255, 0);
    }
}

#mobile-menu-button {
    color: #fff;
    display: none;
    background: transparent;
    margin: 0 .5rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: color .3s, border-color .3s;
}

#mobile-menu-button.active {
    color: #2b7bb9;
    border-color: #2b7bb9;
    transition: color .3s, border-color .3s;
}

#mobile-menu-button i.open {
    animation: rotate .4s;
    transform-origin: 50% 50% 0;
}

#mobile-menu-button i.close {
    animation: rotate-r .4s;
    transform-origin: 50% 50% 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

@keyframes rotate-r {
    0% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#mobile-menu {
    margin-top: 47px;
    padding: 20px 0 20px 20px;
    width: 90%;
    max-width: 300px;
    position: absolute;
    overflow: visible;
    overflow-y: auto;
    top: 0;
    right: 0;
    z-index: 2;
    height: Calc(var(--vh)* 100 - 47px);
    opacity: .92;
    background: #000;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: translateX(100%);
    transition: transform .3s;
    will-change: transform;
    contain: paint;
}

#mobile-menu>ul {
    display: flex;
    flex-direction: column;
}

#mobile-menu li {
    padding: 4px 5px;
    display: block;
}

#mobile-menu.active {
    transform: none;
}

#mobile-menu .right-menu ul li ul li {
    margin-bottom: .25rem;
    position: relative;
}

#mobile-menu .right-menu ul li ul li::before {
    content: "";
    position: absolute;
    top: -.1rem;
    left: -4px;
    width: 10px;
    border-left: 1px dashed #64a7ed;
}

#mobile-menu .right-menu ul li ul li:last-child::before {
    height: calc(1em + .4em);
}

#mobile-menu .right-menu ul li ul li::after {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: -2px;
    width: 10px;
    border-bottom: 1px dashed #64a7ed;
}

#vdbanner {
    text-align: center;
    margin-top: 47px;
    max-height: 60px;
}

#vdbanner img {
    max-width: 468px;
    width: 100%;
    display: block;
}


/* 追加 */

.post-password-form input[type=password] {
    padding: .5rem;
    color: #fff;
    background-color: #555;
}

.post-password-form input[type=submit] {
    padding: .5rem;
    font-size: .8rem;
    border: none;
    border-radius: .2rem;
    background-color: #555;
}

.post-password-form input[type=submit]:hover {
    background-color: #888;
}


/* ---------------------------------------
フレーム全体
--------------------------------------- */


/* 全体 */

#main-wrapper {
    min-height: 100%;
    margin: 0 auto;
    width: 1280px;
}


/* biim窓のラッパー */

.frame-outer {
    display: inline-block;
    background: #000;
    border-radius: 10px;
    height: 720px;
    min-height: 400px;
    width: 100%;
}

.frame-top-wrapper {
    position: relative;
}


/* ページ最上部へ戻るボタン*/

#page-top {
    position: absolute;
    padding: 20px;
    bottom: 1.5rem;
    right: Calc(320px + 2rem);
    color: #fff;
    text-decoration: none;
    z-index: 2;
    opacity: 1;
}

#page-top:hover {
    cursor: pointer;
}

#page-top.show {
    animation: fade-in .4s;
    opacity: 1;
}

#page-top.hide {
    animation: fade-out .4s;
    opacity: 0;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}

@keyframes fade-out {
    0% {
        opacity: 100;
    }
    100% {
        opacity: 0;
    }
}


/* ---------------------------------------
フレーム中央(メインコンテンツ)
--------------------------------------- */

#frame-main {
    height: 530px;
    margin: 5px;
    padding: 5px;
    width: Calc(100% - 330px);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.main-inner {
    position: relative;
    display: block;
    min-height: 100%;
    width: 100%;
    padding: 0 .5rem;
}

.main-inner h1 {
    margin: 0 0 1.1rem 0;
    border-bottom: #fff solid 3px;
}


/* ---------------------------------------
フレーム右(大会ロゴ・メインメニュー)
--------------------------------------- */

.frame-right {
    height: 540px;
    padding: 5px;
    width: 320px;
}


/* biim窓 右上 */

.frame-right-header {
    height: 120px;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
}

.frame-right-header figure {
    display: flex;
    align-items: center;
    height: 100%;
}

.frame-right-header img {
    width: 100%;
    height: auto;
}


/* biim窓 右枠(メニュー) */

.frame-right-menu-wrapper {
    height: 403px;
}

.frame-right-menu-wrapper h3 {
    border-bottom: none;
    color: yellow;
    text-align: center;
    margin: .3rem 0 .1rem 0;
    padding: 0;
}

.right-menu {
    color: #fff;
    font-weight: bold;
}

.right-menu ul {
    margin: 0 0 0 1.5rem;
    list-style-type: none;
}

.right-menu li {
    line-height: 1.5rem;
}

.right-menu ul.sub-menu {
    margin: 0 0 0 1rem;
}


/* ---------------------------------------
フレーム下(ゆっくり・コメント)
--------------------------------------- */

#frame-bottom {
    height: 180px;
    padding: 5px;
    width: 100%;
}


/* ゆっくりアイコン */

#frame-bottom-char-wrapper {
    height: 170px;
    margin: 0 10px;
    position: relative;
    width: 180px;
}

.frame-bottom-char {
    cursor: pointer;
}

.frame-bottom-char img {
    width: 170px;
    height: 170px;
}


/* ゆっくりコメント */

#frame-bottom-comment {
    height: 100%;
    padding: 1rem;
    width: Calc(100% - 200px);
    overflow: hidden;
}

#frame-bottom-comment p {
    padding: .2rem;
    font-size: 2rem;
    font-weight: bold;
    line-height: 2.5rem;
}

#frame-bottom-comment a {
    font-weight: bold;
    text-decoration: underline;
}

#frame-bottom-comment span {
    font-weight: bold;
}


/* ゆっくりコメント取得用 */

.yukkuri-comment-raw {
    display: none;
}


/* ゆっくり選択 */

.frame-bottom-char-select {
    background: #000;
    display: none;
    height: auto;
    position: absolute;
    top: -75px;
    width: auto;
    z-index: 5;
}

.char-switch {
    width: 100%;
    cursor: pointer;
    display: inline-block;
    padding: 10px;
}

.frame-bottom-char-select ul {
    display: inline-block;
}

.frame-bottom-char-select img {
    display: block;
    margin: 0 auto;
}


/* ---------------------------------------
ボトム・フッター
--------------------------------------- */


/* ページ下部コンテンツ */

#info-wrapper {
    color: #222;
    padding: 10px 0;
    width: 100%;
}


/* インフォメーション左側 */

#info-left {
    margin-right: 20px;
    width: 860px;
}


/* インフォメーション右側 */

#info-right {
    width: 400px;
}

#info-wrapper h2 {
    border-bottom: 1px solid #aaa;
    color: #555;
    margin-bottom: 1rem;
}

#info-wrapper div section {
    margin-bottom: 10px;
}


/* ページ下部・最新情報 */

#info-update {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: .5rem;
}

#info-update p {
    max-height: 300px;
    padding-left: 1rem;
    overflow-y: auto;
}

#info-update table {
    border: none;
}

#info-update table thead th,
#info-update table tbody th,
#info-update table tbody td {
    border-bottom: none;
}

#info-update table thead th+th,
#info-update table tbody td {
    border-left: none;
}

#info-update table tbody td {
    white-space: normal;
    padding: 0 .5rem;
	vertical-align:top;
}


/* ページ下部・リンク集 */

#info-link {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: .5rem;
}

#info-link li {
    line-height: 1.5rem;
}

#info-link p {
    padding: 0 1rem;
}

.info-notes {
    font-size: .8rem;
}

.sns-icon-wrapper {
    position: relative;
    color: #fff;
    display: inline-block;
    text-align: center;
}

.sns-wrapper {
    margin: 0 1rem .3rem 1rem;
}

.sns-wrapper>* {
    margin: 2px;
}

.sns-icon-wrapper i {
    color: #fff;
    fill: #fff;
    display: table-cell;
    vertical-align: middle;
    border-radius: 20%;
    font-size: 1.6rem;
}

.sns-icon-wrapper:hover,
.sns-icon-wrapper-nico:hover {
    cursor: pointer;
}

.sns-button {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.sns-button:hover {
    cursor: pointer
}

.sns-button:active {
    top: 2px;
}

.sns-icon-wrapper,
.sns-icon-wrapper i,
.sns-icon-wrapper-nico,
.sns-button {
    width: 36px;
    height: 36px;
}

.svg-niconico {
    fill: #fff;
    background-color: #252525;
    border-radius: 20%;
    padding: 0 4px;
    width: 28px;
    height: 36px;
}

.sns-icon-wrapper-nico {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    border-radius: 10%;
    text-align: center;
    font-size: 2rem;
}

.popup-balloon {
    width: 11rem;
    height: 9rem;
    display: none;
    position: absolute;
    top: -10rem;
    left: -1.5rem;
    border: white 2px solid;
    border-radius: 16px;
    background: rgba(0, 0, 0, .9);
}

.popup-balloon:after,
.popup-balloon:before {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 23%;
}

.popup-balloon:after {
    border-color: rgba(0, 0, 0, 0);
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
    border-right-width: 10px;
    margin-left: -10px;
    border-top-color: #000000;
}

.popup-balloon:before {
    border-color: rgba(255, 255, 255, 0);
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 12px;
    border-right-width: 12px;
    margin-left: -12px;
    margin-top: 2px;
    border-top-color: #FFFFFF;
}

.popup-balloon-content {
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 100%;
    padding: .5rem .3rem;
}

#info-link .popup-balloon-content p {
    color: #fff;
    padding: 0;
    font-size: .7rem;
    line-height: 1rem;
}

.popup-balloon-link {
    justify-content: space-evenly;
    margin-bottom: .2rem;
}

#info-link .popup-balloon-content a {
    text-decoration: underline;
    font-size: 1.1rem;
    line-height: 36px;
}


/* ページ下部・Twitter */

#info-twitter-box {
    height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

#twitter-sub-icon {
    background: linear-gradient(to top, rgb(29, 155, 240) 50%, rgb( 128, 128, 128) 50%);
    color: transparent;
    /* color: rgb(29, 155, 240); */
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
}

.twitter-progress-animation {
    animation: bggradient .6s ease-out;
    animation-fill-mode: forwards;
}

@keyframes bggradient {
    0% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 50% 100%;
    }
}

.site-footer p {
    color: #000;
    text-align: center;
}


/* ---------------------------------------
その他（ポップアップ等）
--------------------------------------- */

#info-main-wrapper {
    padding: 0;
}

#info-main-content {
    position: relative;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
}

#info-main-content h2 {
    border-bottom: #fff 2px solid;
    margin-bottom: 1rem;
}

.info-main-detail {
    max-height: Calc(100% - 4rem);
    overflow-y: auto;
}

.info-main-detail table {
    border: none;
}

.info-main-detail table thead th,
.info-main-detail table tbody th,
.info-main-detail table tbody td {
    border-bottom: none;
}

.info-main-detail table thead th+th,
.info-main-detail table tbody td {
    border-left: none;
}

.info-main-detail table tbody td {
    white-space: normal;
    padding: .1rem .5rem;
	vertical-align:top;
}

#info-close {
    position: absolute;
    top: -4rem;
    right: 0;
    padding: 1rem;
    cursor: pointer;
    pointer-events: auto;
}

#info-main-bg.info-show {
    opacity: 1;
    display: block;
    -webkit-animation: show-popup .4s ease-in;
    -moz-animation: show-popup .4s ease-in;
    animation: show-popup .4s ease-in;
}

#info-main-bg.info-hide {
    -webkit-animation: close-popup .4s ease-in;
    -moz-animation: close-popup .4s ease-in;
    animation: close-popup .4s ease-in;
}


/* ウィンドウ幅が1280px以下の場合 */

@media screen and (max-width: 1280px) {
    #main-wrapper {
        width: 100%;
    }
    .frame-outer {
        height: auto;
    }
    #frame-main {
        width: 100%;
        height: Calc(var(--vh) * 69);
    }
    #frame-bottom-char-wrapper {
        max-width: 120px;
        margin: 0 5px;
    }
    #frame-bottom {
        height: 120px;
    }
    #frame-bottom p {
        padding: .2rem;
        font-size: 1.4rem;
        line-height: 1.6rem;
    }
    #frame-bottom-comment {
        padding: .6rem;
        width: 100%;
    }
    .frame-bottom-char img {
        width: 110px;
        height: auto;
    }
    .info {
        max-width: 800px;
        margin: 0 auto;
    }
    #info-left,
    #info-right {
        padding: 0 10px;
        width: 100%;
    }
    #info-left {
        margin-right: 0;
    }
    #mobile-menu-button {
        display: inline-flex;
    }
    /* PC向けエレメントを非表示 */
    .only-pc {
        display: none;
    }
    #page-top {
        bottom: 1rem;
        right: 1rem;
    }
    .sns-icons-wrapper>* {
        margin: 2px 5px;
    }
    #youtube-bg i,
    .youtube {
        width: min(calc(var(--vh)*100 / 9 * 16), 100vw);
        max-width: none;
    }
    .youtube {
        height: calc(100vw / 16 * 9);
    }
}


/* ウィンドウ幅が600px以下の場合 */

@media screen and (max-width: 600px) {
    body {
        font-size: .85rem;
    }
    p {
        line-height: 1.3rem;
    }
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        float: none;
        margin: 1em;
    }
    #main-header,
    .header-ribbon {
        height: 47px;
    }
    #info-button,
    #mobile-menu-button {
        width: 30px;
        height: 30px;
    }
    #mobile-menu {
        max-width: 250px;
    }
    #common-popup-wrapper,
    #info-main-wrapper {
        height: 100%;
        max-height: Calc(var(--vh)*60)
    }
    .frame-outer {
        height: Calc(var(--vh)*76 + 90px);
    }
    #frame-main,
    .frame-right {
        height: Calc(var(--vh) * 76);
    }
    #frame-main {
        height: Calc(var(--vh) * 76);
        width: 100%;
    }
    .main-inner {
        padding: 0;
    }
    .youtube-player-thumb {
        margin: 0 auto;
    }
    #frame-bottom-char-wrapper {
        max-width: 75px;
        margin: 0 5px;
    }
    .frame-bottom-char img {
        width: 70px;
        height: auto;
    }
    #frame-bottom {
        height: 80px;
    }
    #frame-bottom-comment {
        padding: .4rem;
        width: 100%;
    }
    #frame-bottom p {
        padding: 0;
        font-size: .9rem;
        line-height: 1rem;
    }
    #info-wrapper h2 {
        padding-top: .2rem;
    }
    #info-main-content {
        padding: .5rem;
    }
    .sns-wrapper {
        width: 200px;
    }
}