@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&display=swap');

:root {
    --side-width: 200px;
    --main-margin: 20px;
    --main-container-color: #ffffff;
    --bg-color: #0085e6;
    --menubar-contents-padding: 0.5em;
    --banner-padding: 10px;
}


@media screen and (max-width: 1150px) {
   :root {
      font-size: 1.5rem;
   }
}

/*** アイコンアニメーション ***/
img.link_btn,
img.link_btn_sub,
img.mi_btn {
    -webkit-transition: all .3s;
    transition: all .3s;
    position: relative;
}

img.link_btn:hover,
img.mi_btn:hover {
    animation-name: bounceMenu;
    animation-duration: .25s;
    animation-fill-mode: both;
    transition: opacity .25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    filter: brightness(114%);
    -webkit-transition: opacity .25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    z-index: 1;
}

@keyframes bounceMenu {

    from,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
    }

    from {
        transform: translate3d(0, 0, 0);
    }

    60% {
        transform: translate3d(0, -5px, 0);
    }

    75% {
        transform: translate3d(0, 4px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

img.link_btn_sub:hover {
    transition: opacity .25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    filter: brightness(114%);
    -webkit-transition: opacity .25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    filter: brightness(114%);
}

/*************** リンク定義 ***************/

/*** リンク設定 ***/

a:link,
a:visited,
a:active {
    color: #0066ff;
    text-decoration: none;
}

a:hover {
    color: #0066ff;
    text-decoration: underline;
}

#contents .entry-title a:link,
#contents .entry-title a:visited {
    color: #000000;
    text-decoration: none;
}

#contents .entry-title a:hover {
    color: #000000;
    text-decoration: underline;
}



/*************** body ***************/

body {
    margin: 0;
    padding: 0;
    font-size: small;
    font-family: 'Lucida Grande', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', verdana, Arial, 'trebuchet ms', 'ＭＳ Ｐゴシック';
    background: url(http://japan-mk.blog.jp/bg_b.png) top center, var(--bg-color);
    background-blend-mode: soft-light;
    word-wrap: break-word;
}


@media screen and (max-width: 1150px) {
    body {
        font-size: 26px;
    }
}

div#main-container {
    width: 70%;
    min-width: 686px;
    margin: var(--main-margin) auto;
    filter: drop-shadow(rgb(85, 85, 85) 5px 5px 6px);
    background-color: var(--main-container-color);
}

@media screen and (max-width: 1150px) {
    body {
        background: var(--main-container-color);
    }

    div#main-container {
        margin: 0;
        width: 100%;
        filter: none;
    }
}

@media screen and (min-width: 1150px) {
    div#main-container {
        width: 1000px;
    }
}

div#side-container-1 {
    width: 150px;
    margin: 0;
    padding: 0 5px;
}

div#side-container-2 {
    width: 150px;
    margin: 250px 0 0 10px;
    padding: 0 5px;
}

.flex {
    display: flex;
    margin: 0 auto;
    width: 1100px;
}


/*************** ヘッダー  ***************/

div#banner {
    width: 100%;
    height: auto;
    background: var(--main-container-color);
    position: relative;
    overflow: hidden;
}


/*** h1 ---- ヘッダー内サイトタイトル ***/

div#banner h1,
div#banner h2 {
    font-size: 58px;
    margin: 0;
    padding: 128px 12px 0 263px;
    text-shadow: 4px 4px 1px #C0C0C0;
}

/*** ヘッダー内サブタイトル ***/

#banner-image {
    padding: var(--banner-padding) var(--banner-padding) 0;
    width: calc(100% - var(--banner-padding) * 2);
    border: none;
    vertical-align: top;
}

@media screen and (max-width: 1150px) {
    #banner-image {
        padding: 0;
        width: 100%;
    }
}

#banner-header {
    white-space: nowrap;
    text-align: right;
    opacity: 0;
}

#banner-description {
    font-size: 106%;
    color: #1C1C1C;
    padding: 6px 12px 0 31px;
    margin: 0;
    white-space: nowrap;
    text-align: right;
    opacity: 0;
}

/*** ヘッダー内リンク ***/

div#banner a {
    color: #ffffff !important;
    text-decoration: none;
}

div#banner a:hover {
    color: #ffffff;
    text-decoration: none;
}



/*************** メイン（左中右カラム）  ***************/

div#main {
    width: 100%;
    margin: 0;
    background: #FFF;
    display: block;
}



/*************** コンテンツ（中央カラム） ***************/

/****** 中央カラムレイアウト ******/

#contents {
    width: 100%;
    margin: auto;
    overflow: hidden;
}

/****** コンテンツ内定義 ******/

div.contents-main {
    width: 100%
    margin: 0;
    padding: 0 3em;
}

@media screen and (max-width: 1150px) {
    div.contents-main {
       padding: 0 0.5em;
   }
}

/*** エントリーボディ内 h2 ***/
/*** コメント内 h2 ***/
/*** トラックバック内 h2 ***/

.entry-body h2,
.comment h2,
.trackback h2 {
    margin: 10px 0;
    padding: 0 5px;
    font-size: small;
    border-bottom: double #8FA396;
}

/*** エントリーボディ内 h3 ***/
/*** コメント内 h3 ***/
/*** トラックバック内 h3 ***/

.entry-body h3,
.comment h3,
.trackback h3 {
    margin: 10px 0;
    padding: 0 5px;
    font-size: small;
    border-bottom: 2px solid #8FA396;
}

/*** エントリーボディ内 h4 ***/
/*** コメント内 h4 ***/
/*** トラックバック内 h4 ***/

.entry-body h4,
.comment h4,
.trackback h4 {
    margin: 10px 0;
    padding: 0 5px;
    font-size: small;
    border-bottom: 1px dotted #8FA396;
}

.entry-body h2#light {
    margin: 5px 0 5px 0;
    padding: 10px 0 10px 33px;
    display: inline-block;
    background: url(http://livedoor.blogimg.jp/nim_2525/imgs/2/c/2c5406d3.png) no-repeat left;
    border: none;
}

.entry-body h2#bullet {
    margin: 5px 0 12px 0;
    padding: 10px 0 10px 48px;
    display: inline-block;
    background: url(http://livedoor.blogimg.jp/nim_2525/imgs/b/d/bd9e02b0.png) no-repeat left;
    border: none;
}

.entry-body h2#flower {
    margin: 5px 0 5px 0;
    padding: 10px 0 10px 34px;
    display: inline-block;
    background: url(http://livedoor.blogimg.jp/nim_2525/imgs/6/a/6a33212b.png) no-repeat left;
    border: none;
}

/*** エントリーボディ内 blockquote ***/

.entry-body blockquote {
    width: 90%;
    margin: 10px auto;
    padding: 5px;
    border: 1px dotted #8FA396;
}

/*** エントリーボディ内 ol ul ***/
/*** トラックバック内 ol ul ***/

.youtube {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 320px;
    height: 180px;
}

.youtube::before {
    position: absolute;
    content: "Click to Play";
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 180px;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    transition: all 0.3s;
}

.youtube:hover::before {
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.entry-body ul,
.trackback ul,
.entry-body ol,
.trackback ol {
    margin: 0;
    padding: 0;
}

.entry-body li,
.trackback li {
    margin: 3px 0 3px 20px;
    padding-left: 2px;
}

.entry-body ul.form {
    margin: 30px 0;
}

.entry-body li.f_head {
    list-style: none;
    margin: 0 0 0 -16px;
    font-size: 15px;
    font-weight: bold;
}

.entry-body li.f_head:before {
    content: "◆";
    margin: 0 0 0 16px;
    padding-left: 0;
}

.entry-body li.f_list1 {
    list-style-type: disc;
    margin: 4px 0 4px 18px;
    padding-left: 0;
}

.entry-body li.f_list2 {
    list-style-type: circle;
    margin: 4px 0 4px 31px;
    padding-left: 0;
    font-size: 10px;
}

.entry-body li.f_listx {
    list-style: none;
    margin: 4px 0 4px -16px;
}

.entry-body li.f_listx:before {
    content: "※";
    margin: 0 0 0 18px;
    padding-left: 0;
}

.entry-body table.t_result {
    line-height: 1.33em;
    border-collapse: collapse;
    border-collapse: separate;
    border-spacing: 1px;
    margin: auto;
}

.entry-body tr.t_result {
    text-align: center;
}

.entry-body tr.t_result:nth-child(even) {
    background: #f4f4f4;
}

.entry-body td.t_result_title {
    padding: 5px;
    border: 1px solid #696969;
    text-align: center;
    font-weight: bold;
}

.entry-body td.t_result {
    border: 1px solid #696969;
    text-align: center;
    vertical-align: top;
}

span.adjust {
    float: left;
    margin-right: 1em;
}


/*** 続きを読む ***/

a.continues {
    float: left;
    margin: 20px 0;
}

/****** エントリー ******/

div.entry {
    width: 100%;
    margin: 15px 0 40px 0;
}

/****** エントリーヘッダー ******/
/*** h2 ---- コンテンツ内の見出し ***/

#contents h1.entry-title,
#contents h2.entry-title {
        --entry-title-pad-bottom: 0.75em;
        font-family: 'Noto Sans JP', sans-serif;
        width: 90%;
        font-size: 2.2em;
        font-weight: bold;
        border-radius: 0.25em;
        text-align: center;
	padding: 0.25em 0.75em var(--entry-title-pad-bottom);
        margin: 1em auto;
	color: #fff;
	transform: skew(-15deg);
	background: url("http://japan-mk.blog.jp/title-header.png") center center;
        filter: drop-shadow(0 0 0.1em rgba(0, 0, 0, 0.8));
        box-shadow: 0 0.75em 1em 0 rgba(255,255,255, 0.4) inset, 0 -0.75em 1em 0 rgba(0, 0, 0, 0.8) inset;
        letter-spacing: .05em;
        overflow: hidden;
        position: relative;
}

#contents h1.entry-title::after,
#contents h2.entry-title::after{
        --entry-title-pad-bottom: 0.75em;
   content:"";
   display:block;
   width: 100%;
   transform: translate(-0.75em, calc(var(--entry-title-pad-bottom)/2/2));
   height: 5px;
   background-image: linear-gradient(90deg, #fb00c4, #fdfc14);
   position:absolute;
}


@media screen and (max-width: 1150px) {
    #contents h1.entry-title,
    #contents h2.entry-title {
       font-size: 1.5em;
    }
}

/****** エントリーボディ ******/
/****** コメント ******/
/****** トラックバック ******/

.entry-body,
.comment,
.trackback {
    line-height: 1.5;
    letter-spacing: .1em;
    margin: 0;
    padding: 0;
}

br {
    letter-spacing: 0;
}

ul.comment_table {
    list-style: none;
    margin: 5px 0;
}

li.comment_table {
    margin: 30px 0 0 -14px;
    vertical-align: middle;
}


/***  見出し ***/


div.trackbacks-title,
div.comments-title,
div.comments-open-title,
div.category-title {
    height: 28px;
    margin: 30px 0 20px 20px;
    padding: 0 0 0 40px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    background: url(http://japan-mk.blog.jp/blog_icon.jpg) no-repeat left center;
    background-size: contain;
}


#trackbacks,
#comments,
#comments-open {
    margin: 0 0 50px 20px;
}


@media screen and (max-width: 1150px) {

    div.trackbacks-title,
    div.comments-title,
    div.comments-open-title,
    div.category-title {
        height: 3rem;
        padding: 0 0 0 3.5rem;
        font-size: 1.5rem;
    }

    #trackbacks,
    #comments,
    #comments-open {
        margin: 0 0 6rem 0;
    }
}

/*** トラックバックテキスト ***/

.trackbacktext {
    margin: 5px 0 25px 21px;
}

/*** コメントフォーム ***/

#comment-form * {
    margin: 0;
    padding: 0;
}

#comment-form {
    margin: 5px 0 0 21px;
}

#comment-form table {
    padding: 0 0 30px;
    border: 0;
    border-color: #ffffff;
    background-color: #ffffff;
}

#comment-form td {
    padding: 0 1em 0 0;
    border: 0;
    border-color: #ffffff;
    background-color: #ffffff;
}

#comment-form input#author,
input#player1,
input#player2,
input#player3,
input#player4,
input#player5,
input#player6,
input#player7,
input#player8,
input#player9,
input#player10 {
    width: 160px;
    height: 18px;
    padding: 0 4px;
}

#comment-form input#text,
input#fc1,
input#fc2,
input#fc3,
input#fc4,
input#fc5,
input#fc6,
input#fc7,
input#fc8,
input#fc9,
input#fc10 {
    width: 120px;
    height: 18px;
    padding: 0 4px;
}

#comment-form input.button {
    width: 50px;
}

#comment-form div.c_button {
    text-align: center;
}


@media screen and (max-width: 1150px) {
    #comment-form table {
        width: 100%
    }

    #comment-form td:nth-of-type(1) {
        width: 55%;
        height: 2rem;
        padding: 0 !important;
    }

    #comment-form td:nth-of-type(2) {
        width: 45%;
        height: 2rem;
        padding: 0 !important;
    }

    #comment-form input#author,
    input#player1,
    input#player2,
    input#player3,
    input#player4,
    input#player5,
    input#player6,
    input#player7,
    input#player8,
    input#player9,
    input#player10 {
        width: 95%;
        height: 3rem;
        font-size: 2.6rem;
        padding: 0.2rem !important;
    }

    #comment-form input#text,
    input#fc1,
    input#fc2,
    input#fc3,
    input#fc4,
    input#fc5,
    input#fc6,
    input#fc7,
    input#fc8,
    input#fc9,
    input#fc10 {
        width: 95%;
        height: 3rem;
        font-size: 2rem;
        padding: 0.2rem !important;
    }

    #comment-form input.button {
        width: 40%;
        aspect-ratio: 4/1;
        font-size: 2.5rem;
    }
}


/*************** サイドレイアウト  ***************/

div#side {
    width: var(--side-width);
    float: right;
    font-size: small;
    overflow: hidden;
}


@media screen and (max-width: 1150px) {
    div#side {
        display: none;
    }

    div#contents {
        width: 100%;
        float: center;
    }
}

/*************** サイドバー（左右カラム） ***************/

.menu a:link,
.menu a:visited,
.menu a:active {
    color: #776d62;
    text-decoration: none;
}

.menu a:hover {
    color: #776d62;
    text-decoration: underline;
}

div.menu * {
    margin: 0;
    padding: 0;
}

div.menu {
    width: 180px;
    margin: 10px;
    font-size: small;
    background: transparent;
    list-style: none;
}

/*** サイドバー内見出し ***/

div.sidetitle {
    width: calc(var(--side-width) * 0.815);
    margin: 0;
    padding: 13.5px 5px 10px 12px;
    font-size: small;
    background: url(http://livedoor.blogimg.jp/nim_2525/imgs/e/f/ef4f7275.png) no-repeat left top;
    font-weight: bold;
}

div.menu ul {
    font-size: small;
    margin: 10px 10px 5px 25px;
}

div.menu div.side {
    margin: 10px 0 20px 0;
}

div.sidebottom {
    margin: 0;
    padding: 0;
}

/*** サイドバーリスト ***/

.menu ul,
.menu ol {
    margin: 5px 0 0 25px;
    padding: 5px 0;
}

.menu li {
    padding: 2px 0;
}

/*** サイドリンク ***/

div.sidebody {
    margin: 7px;
    font-size: small;
}


/*************** フッター ***************/

div#footer {
    clear: both;
    width: 100%;
    padding: 3px 0 10px;
    background: #ffffff url(https://livedoor.blogimg.jp/nim_2525/imgs/8/4/84ea7a72.png) no-repeat bottom right;
    color: #222;
}

div#official {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: center;
    align-items: center;
    padding: 0 1em 5em;
}

@media screen and (max-width: 1150px) {
    div#official {
       grid-template-columns: repeat(2, 1fr);
   }
   div#footer {
       background: #ffffff;
   }
   body {
       background: #ffffff !important;
   }
}

div#official a img {
    margin: 0.25rem 0.5rem 0;
    width: 95%;
    height: auto;
    border-radius: 1rem;
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.6));
}

div#official a img:hover {
    background-color: #FFEDB3;
}


.sidetitlebody {
 display: none;
}


#footer_pv {
 text-align: center;
 margin: 1em auto;
}

ul.daily_count {
  width: 60%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  margin: auto !important;
}

@media screen and (max-width: 1150px) {
  ul.daily_count {
    width: 90%;
  }
  ul.daily_count img {
    width: 70%;
  }
}

ul.daily_count li {
  margin: 0 1em !important;
}

/*** COPYRIGHT ***/

div#copyright {
    text-align: center;
    padding: 5px 5px 0 5px;
}

div#copyright::before {
    content: "© Mario Kart Blog 2014-2023 All Rights Reserved.";
}

div#footer_icons {
    margin: auto;
    width: 20%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);  
    justify-items: center;
    align-items: center;
}

div#footer_icons a img {
    border-radius: 0.5em;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.6));
    margin-bottom: 0.5em;
}


div#footer_icons a img:hover {
    filter: brightness(150%);
}


@media screen and (max-width: 1150px) {
   div#footer_icons {
       width: 90%;
   }
   div#footer_icons a {
      width: 60%;
   }
   div#footer_icons a img {
       width: 100%;
       height: auto;
       object-fit: contain;
       border-radius: 1em;
       filter: drop-shadow(0px 0px 0.25em rgba(0, 0, 0, 0.8));
   }
}

/*************** AD ***************/

div#ad {
    width: 390px;
    margin: 20px 0 10px 0;
    padding: 0;
}



/*************** ライブドア広告ヘッダー ***************/

table#header {
    width: 100%;
    border-bottom: 1px solid #FFF;
    background: #FFFFFF;
}

table#header th {
    width: 1%;
}

table#header th img {
    margin: 2px 10px;
}

table#header td.catprbox {
    width: 1%;
    white-space: nowrap;
}

table#header td.catprbox span {
    margin-right: 15px;
}

table#header td.newstickerbox {
    width: 97%;
}

table#header td.newstickerbox div {
    text-align: left !important;
    padding-left: 10px;
}

table#header td.startblogbox {
    width: 1%;
    padding-right: 20px;
    white-space: nowrap;
}

table#header td.startblogbox img {
    margin-right: 3px;
    border: 0;
    vertical-align: middle;
}

table#header td.startblogbox a.header-nav-livedoor {
    margin-right: 5px;
    border-right: 1px solid;
    padding-right: 5px;
}

table#header a {
    text-decoration: none;
}

table#header td {
    height: 16px !important;
}

td.newstickerbox div {
    width: 200px !important;
    height: 14px !important;
}

#header_scroll {
    width: 170px !important;
}

#header_topics div {
    height: 14px !important;
}



/*************** その他スペース ***************/

/*** services ***/

ul#ld-services {
    list-style: none;
    padding: 10px 0;
    text-align: center;
}

/*** Plugin ***/

body.ad {
    background: none;
}

/*** clearfix ***/

.clearfix:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}



/******************************/
/*\*/
* html .clearfix {
    height: 1em;
}


.form {
    border-collapse: separate;
    border-spacing: 0 20px;
    margin: -16px 0 30px 21px;
}

.form td:nth-of-type(1) {
    text-align: right;
    width: 20px;
    padding-right: 20px;
}

.form td:nth-of-type(2) {
    width: 210px;
    line-height: 150%;
}

.form td:nth-of-type(2)>span {
    position: relative;
    margin-left: 2em;
    display: block;
}

.form td:nth-of-type(2)>span:before {
    position: absolute;
    content: url('http://livedoor.blogimg.jp/nim_2525/imgs/9/8/98a9f734.png');
    vertical-align: middle;
    left: -1.1em;
    transform: translate(-50%, 50%);
}

.form td:nth-of-type(3) {
    margin: 0 6px 0 0;
    line-height: 150%;
}

.form td:nth-of-type(3)>span {
    position: relative;
    margin-left: 2em;
    display: block;
}

.form td:nth-of-type(3)>span a {
    font-size: inherit !important;
}

.form td:nth-of-type(3)>span:before {
    position: absolute;
    content: url('http://livedoor.blogimg.jp/nim_2525/imgs/7/8/788eb7c1.png');
    left: -1.1em;
    transform: translate(-50%, 45%);
}


@media screen and (max-width: 1150px) {
    .form {
        margin: 0 !important;
        width: 100%;
    }

    .form td:nth-of-type(1) {
        width: 10%;
    }

    .form td:nth-of-type(2) {
        width: 50%;
    }

    .form td:nth-of-type(3) {
        width: 40%;
    }


    .form td:nth-of-type(2)>span:before {
        left: -0.8em;
        transform: translate(-50%, 100%);
        scale: 150%;
    }

    .form td:nth-of-type(3)>span:before {
        left: -0.6em;
        transform: translate(-50%, 90%);
        scale: 150%;
    }
}

#ad_mobile {
    width: calc(100% - 1em) !important;
    aspect-ratio: 1090/160;
    margin: 0 auto;
    padding: 0.5em 0 0 0;
    display: none;
}

#ad_mobile ins {
    display: block;
    width: calc(100% - var(--menubar-contents-padding) * 2);
    height: 160px;
    object-fit: cover;
    margin: 0 auto;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.6));
}

#menubar {
    width: calc(100% - 10px*2);
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 10px;
}

@media screen and (max-width: 1150px) {
    #ad_mobile {
        display: block;
    }

    #menubar {
        margin: 0;
        padding: 0.5em;
        width: calc(100% - 0.5em*2);
    }
}


#menubar_ad_left, #menubar_ad_right {
    width: calc(20%);
    height: auto;
    max-width: 200px;
    aspect-ratio: 1/1;
}

#menubar_ad_left img, #menubar_ad_right img {
    width: calc(100% - var(--menubar-contents-padding) * 2);
    height: calc(100% - var(--menubar-contents-padding) * 2);
    object-fit: cover;
    padding: var(--menubar-contents-padding);
    background: var(--bg-color);
}

#menubar_ad_left img:hover, #menubar_ad_right img:hover {
    filter: brightness(120%);
}

#menubar_main {
    width: calc(60% - 0.5em*2);
    padding: 0.5em;
    margin: 0 1rem;
    min-height: 160px;
}

/*
#menubar_ad_right {
    width: calc(20%);
    max-width: 200px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

#menubar_ad_right ins {
    display: inline-block;
    width: calc(100% - var(--menubar-contents-padding) * 2);
    height: calc(100% - var(--menubar-contents-padding) * 2);
    object-fit: cover;
    padding: var(--menubar-contents-padding);
    background: var(--bg-color);
}
*/



#menubar_main_link {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    text-align: center;
    justify-content: center;
    height: calc(100%);
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.6));
    background-color: var(--main-container-color);
    border-radius: 1rem;
}

#menubar_main_link .card-text {
    width: 100%;
    height: auto;
    pointer-events: none;
}


@media screen and (max-width: 1150px) {

    #menubar_ad_left,
    #menubar_ad_right {
        display: none;
    }

    #menubar_main {
        width: calc(100% - 0.5em*2);
        height: 220px;
    }
}

#menubar_main_sns {
    display: flex;
    text-align: center;
    justify-content: center;
    height: calc(20% - 0.5em);
    padding: 0.5em 6em 0;
    background-color: #0085e6;
    flex-wrap: wrap;
    gap: 1rem 1rem;
}

#menubar_main_sns .img-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.6));
}

#menubar_main_sns .img-container {
    height: 100%;
}


@media screen and (min-width: 1025px) {
    #menubar_main_sns .img-container:hover {
        height: 100%;
        filter: sepia(150%) saturate(200%);
        transform: scale(1.3);
        -webkit-transition: all .15s;
        transition: all .15s;
    }

    #menubar_main_link .card-item:hover {
        opacity: 0.6;
        -webkit-transition: all .3s;
        transition: all .3s;
    }

    #menubar_main_link .card-item-wrapper:hover {
        transform: translate(-50%, -50%) scale(1.1);
        -webkit-transition: all .3s;
        transition: all .3s;
    }
}

#menubar_main_link img {
    max-width: 100%;
    height: auto;
}

#menubar_main_link .card-item {
    width: calc(100% - 0.3em*2);
    padding: 0.5em 0.3em;
    margin: 0;
    position: relative;
}

#menubar_main_link .card-item-wrapper {
    width: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

#menubar_main_link .img-container {
    margin-bottom: 0.25rem;
}

#menubar_main_link .card-1 {
    background-color: #ff93bb;
}

#menubar_main_link .card-2 {
    background-color: #e2e295;
}

#menubar_main_link .card-3 {
    background-color: #b3e4a3;
}

#menubar_main_link .card-4 {
    background-color: #acb3fc;
}

#menubar_main_link .card-5 {
    background-color: #d4a8ea;
}

#menubar_main_link dl.card-item:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

#menubar_main_link dl.card-item:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}


.banner-obj {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: transform 2.0s cubic-bezier(.03, .96, .53, 1), opacity 1.0s ease, -webkit-transform 2.0s cubic-bezier(.03, .96, .53, 1);
}

.banner-obj.mario {
    top: calc(var(--banner-padding) - 7%);
    left: calc(var(--banner-padding) - 5%);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.6));
    z-index: 20;
    -webkit-transform: translate(-50px, -50px);
    transform: translate(-50px, -50px);
    transition-delay: 1.0s;
}

.banner-obj.title {
    top: calc(var(--banner-padding) + 40%);
    left: calc(var(--banner-padding) + 34%);
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.6));
    z-index: 10;
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
    transition-delay: 2.5s;
}

.active .banner-obj {
    opacity: 1.0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

@media screen and (max-width: 1150px) {
    .banner-obj.mario {
        top: -1%;
        left: -5%;
    }

    .banner-obj.title {
        top: 40%;
        left: 34%;
    }
}