html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #000;
    font-family: 'Noto Sans JP', sans-serif, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 12pt;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    line-height: 2;
}


/* for all */

.container {
    display: block;
    max-width: 1000px;
    margin: auto;
    width: 100%;
    padding: 0 10px;
}

img,
iframe {
    max-width: 100%;
    height: auto;
}

.pd-b-50 {
    padding: 50px 0;
}

.pd-t-70 {
    padding-top: 70px;
}

.img-bl {
    display: block;
    width: 100%;
}

.thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.desc {
    overflow-wrap: break-word;
    line-height: 2;
}

.border-bottom-linear {
    border-image-source: linear-gradient(to left, #fff0, #fff, #fff0);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid;
    border-image-slice: 1;
    padding-bottom: 10px;
}

.img-border-white{
    border: 1px solid #ccc;
}

/* header  */

.h-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.header-top {
    background: #000;
    padding: 20px;
}

.h-top-logo img {
    display: block;
    width: 100%;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    border: none;
}

.search-row input.search-field {
    border: none;
    padding: 6px;
    font-family: inherit;
    max-width: 180px;
}

input.search-submit {
    border: none;
    color: #fff;
    background: linear-gradient(to top, #d51b0c 34%, #d83700 0%, #d3944c 77%, #f2e092 93%);
    padding: 6px 10px;
    height: 31px;
    display: flex;
    font-weight: 900;
    box-shadow: unset;
}

.h-top-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.h-top-language {
    position: relative;
    z-index: 999;
    margin-right: 10px;
    padding: 0 10px;
    display: none;
}

.icon-language {
    text-align: center;
    display: flex;
    align-items: center;
}

.icon-language i {
    font-size: 15px;
}

.icon-language span {
    display: block;
    line-height: normal;
    font-size: 8pt;
    text-transform: uppercase;
}

ul.h-top-list-language {
    position: absolute;
    top: 100%;
    /* visibility: hidden; */
    transition: 0.5s all;
    /* transform: translate3d(48px, 0, 0); */
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
}

ul.h-top-list-language a {
    color: #000;
    padding: 10px 20px;
}

ul.h-top-list-language li {
    border-bottom: 1px solid #000;
}

.language-mobile {
    display: none;
}

/* Slider */

section.slider {
    background: #272727;
    overflow: hidden;
}

section.slider .container {
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    cursor: pointer;
    /* opacity: .7; */
}

.swiper-slide a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 2;
}

.swiper-slide a {
    display: block;
    position: relative;
}

.swiper-slide.swiper-slide-active a::before {
    display: none;
}

.swiper-slide.swiper-slide-active{
    opacity: 1;   
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.swiper-pagination {
    position: relative;
    padding-top: 20px;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.swiper-pagination-bullet {
    border-radius: 0;
    background: #fffefe;
    margin: 0 5px;
}

.swiper-slide a::after {
    /* content: ""; */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #ffffff00 6%, #000000 38%, #000000 62%, transparent 97%);
    z-index: 3;
}

.swiper-button-prev::after {
    content: '';
}

.swiper-button-next::after {
    content: '';
}

.swiper-button-prev {
    background-image: url("https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/left.png") !important;
    left: -5px;
}

.swiper-button-next {
    background-image: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/right.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    right: -5px;
}

.swiper-button-next,
.swiper-button-prev {
    border: 2px solid #d9b12ee8;
    width: 42px;
    height: 42px;
    background-color: #373531;
    border-image: linear-gradient(45deg, #d2a207, #f2da8a);
    border-image-slice: 1;
    box-sizing: border-box;
    background-size: 9px;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-container{
    overflow: inherit;
}

/* sidebar */

.title-rank.title-sidebar h2 {
    color: #ff0000;
    text-align: center;
    font-size: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    color: #fff;
}

.title-rank.title-sidebar {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.sb-item-post .thumbnail {
    width: 100%;
    padding: 0 5px;
    max-width: 96px;
}

.sb-item-post {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    margin-bottom: 10px;
    position: relative;
    transition: 0.5s all;
}

.sb-item-post:hover img {
    opacity: 0.5;
}

.sb-item-post img {
    transition: 0.5s all;
}

.sb-item-post .thumbnail a {
    overflow: hidden;
    display: block;
}
.sb-item-post .info {
    width: calc(100% - 96px);
    padding: 0 5px;
}

.sb-list-post {
    /* padding: 10px; */
}

.sb-item-post:hover .rank{
    background: #cc0101;
}

.sb-item-post:hover .info a{
    opacity: .5;
}

.sb-item-post .rank {
    position: absolute;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 5px;
    top: 0;
    background-size: 100% 100%;
    background: #343434;
    font-weight: bold;
    font-size: 12pt;
    z-index: 3;
    transition: 0.5s all;
}

.sb-item-post .info h3 {
    font-size: 15px;
}

.sb-item-post:last-child {
    margin-bottom: 0;
}

div#sidebar-primary {
    margin-bottom: 50px;
}

.sidebar-block {
    margin-bottom: 30px;
}

.sidebar-contact a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background: #c80000;
    font-size: 13pt;
    border: 1px solid #6b6b6b;
    font-weight: 700;
}

.sidebar-contact a span {
    margin-left: 20px;
}

.sidebar-contact i {
    font-size: 19pt;
}

/* home */
.bg-fixed {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000;
    background-image: url(https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/bg_home.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}
.main-bg-fixed {
    position: relative;
    z-index: 2;
}
.main-bg-fixed .full-content {
    background: none;
}

.full-content {
    /* background-image: url(../image/bg_home.png); */
    background-size: cover;
    background-repeat: no-repeat;
}

.container-home,
.container-page {
    max-width: 1072px;
    margin: auto;
    display: block;
    padding: 0 15px;
}

.container-home .content-main .content {
    padding-top: 0;
}

.container-home .content-main .sidebar.left {
    padding-top: 30px;
}

section.home-title {
    text-align: center;
    color: #fff;
    padding: 30px;
    padding-top: 0;
}

section.home-title .title-h1 {
    padding: 30px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    color: #AC871A;
    font-size: 21px;
    /* background: -webkit-linear-gradient(#AC871A 20%, #D3C27C 34%, #EAEBB0 40%, #B5962E 50%, #A98210 20%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}


section.home-title .title-h1>div:first-child {
    width: 100%;
}

section.home-title .title-h1 * {
    background: -webkit-linear-gradient(left, #ac871a 19%, #D3C27F 33%, #EAEBB0 51%, #B5962E 54%, #A98210 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.list-logo-app {
    display: flex;
    flex-wrap: wrap;
    /* margin: 0 -10px; */
    margin-top: 10px;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.item-logo-app {
    max-width: calc(100%/6);
    margin: 0 10px;
}

.item-logo-app:last-child {margin-right: 0;}

.item-logo-app:first-child {
    margin-left: 0;
}

.item-logo-app img {
    /* width: 100%; */
}

.content-main {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
}

.sidebar.left {
    max-width: 282px;
    width: 100%;
    padding: 10px 30px;
    background: #003f6587;
    border: 1px solid #646464;
    height: auto;
}

.content-main .content {
    width: calc(100% - 282px);
    padding-left: 30px;
    /* padding-top: 30px; */
}

section.block {
    margin-bottom: 80px;
}

.block-title h2 {
    color: #ff0000;
    text-align: center;
    font-size: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.block-title {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.list-post {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7.5px;
}

.item-post {
    width: calc(100%/3);
    padding: 10px 7.5px;
}

.thumbnail img {
    display: block;
    width: 100%;
    border: 1px solid #80848a;
}

.item-post .info {
    margin-top: 10px;
    text-align: center;
}

.item-post .info h3 a {
    color: #fff;
    font-size: 14pt;
}

.home-news-content {}

.item-new {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    align-items: center;
    font-size: 12pt;
}

.item-new .status {
    margin: 0 11px;
}

.item-new .status span {
    display: block;
    background: #c80000;
    padding: 0 10px;
    color: #fff;
    line-height: normal;
}

.item-new {
    margin-bottom: 30px;
}

.btn-view-more.right {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    margin-top: 20px;
    position: relative;
}

.btn-view-more.right a {
    color: #9c9c9c;
    padding: 10px 25px;
    background: #000000bf;
    border: 1px solid #ffffff82;
    text-align: center;
    position: relative;
}

.btn-view-more.right i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-view-more.right a span {
    /* display: block; */
    margin-right: 20px;
}

footer {
    text-align: center;
    padding: 50px;
    color: #fff;
    background: #000;
    border-top: 2px solid #fff;
    border-image-source: linear-gradient(to left, #a98311, #eaebb0, #ae891e);
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    border-image-slice: 1;
    position: relative;
    z-index: 2;
}

.about-ft.desc {
    font-size: 9pt;
}

.logo-ft img {
    display: block;
    margin: auto;
}

.logo-ft {
    margin-bottom: 30px;
}

ul#menu-footer {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-ft {
    margin-bottom: 80px;
}

ul#menu-footer>li>a {
    display: block;
    border-right: 1px solid #aaaaaa;
    padding: 0 20px;
    line-height: normal;
    font-size: 13pt;
}

ul#menu-footer>li:last-child>a {
    border: none;
}

.logo-ft-2 {
    margin-bottom: 30px;
}

.logo-ft-2 img {
    display: block;
    margin: auto;
}


/* archive */

.full-content.archive {
    /* background-image: url('../image/bg_archive.png'); */
}

.title-archive {
    margin-bottom: 30px;
    text-align: center;
}

.title-archive h1 {
    font-size: 22pt;
    line-height: normal;
}

.title-archive h2 {
    font-size: 15pt;
    margin-top: 10px;
}
.item-archive {
    padding: 30px 0;
    border-bottom: 1px solid #808287;
}

.item-archive .title {
    margin-bottom: 15px;
    font-size: 14pt;
}

.item-archive .desc {
    margin-bottom: 15px;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.625;
    overflow-wrap: break-word;
}

.item-archive .info {
    text-align: right;
    font-size: 13px;
}


/* navigation */
nav.navigation.pagination {
    margin-top: 60px;
}

.nav-links {
    text-align: center;
}

.nav-links a,
.nav-links span{
    display: inline-block;
    border: 1px solid #ffffff80;
    margin-right: 7px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #000;
    margin-bottom: 10px;
}
.nav-links span.dots{
    background: none;
    border: none;
    width: 20px;
    height: 20px;
}

.list-archive {
    margin-bottom: 50px;
}

.nav-links a:last-child {
    margin-right: 0;
}

.nav-links a.prev {
    margin-right: 30px;
}

.nav-links a.next {
    margin-left: 30px;
}

.nav-links span.current {
    background: #f00;
    border-color: #fff;
}


/* single */

.entry-content>* {
    margin-bottom: 1.75em;
}

.entry-content img {
    display: block;
}

.title-single {
    margin-bottom: 30px;
}

.title-single h1 {
    margin-bottom: 15px;
    font-size: 18pt;
    line-height: normal;
}

.title-single .info {
    text-align: right;
    font-size: 10pt;
}

.button.back {
    text-align: center;
}

.button.back a {
    border: 1px solid #ffffff85;
    padding: 5px 17px;
    background: #0000004f;
    color: #a3a3a3;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button.back a span {
    display: inline-block;
    padding: 0 40px;
    background-image: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/back_icon.png');
    background-repeat: no-repeat;
    background-position: center left 5px;
    background-size: 10px;
    font-family: 'Montserrat', sans-serif;
}


/* search */

.item-search {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid #80848a;
    margin: 0 -15px;
}

.item-search .thumbnail {
    width: 130px;
    padding: 0 15px;
}

.item-search img {
    border: 1px solid #ccc;
}

.info-item-search {
    width: calc(100% - 130px);
    padding: 0 15px;
}

.info-item-search .title {
    margin-bottom: 10px;
    font-size: 13pt;
}

.list-search {
    margin-bottom: 50px;
}

.info-item-search .category {
    background: #f00;
    display: inline-block;
    padding: 0 10px;
    margin-bottom: 15px;
    font-size: 11pt;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.info-item-search .desc {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.625;
    overflow-wrap: break-word;
}


/* Titles */

.list-title {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.item-title {
    width: calc(100%/3);
    padding: 10px 15px;
}


/* detail title */

.info-titles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.info-left {
    width: 100%;
    padding: 0 15px;
    max-width: 289px;
}
.info-left img{
    border: 1px solid #ccc;
}
.info-right {
    width: calc(100% - 289px);
    padding: 0 15px;
}

.info-right h1 {
    margin-bottom: 15px;
    font-size: 23pt;
    line-height: normal;
}

.gallery-title {
    margin-bottom: 50px;
}

.gallery-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.gallery-item {
    width: calc(100%/4);
    padding: 10px;
}

.gallery-item img {
    border: 1px solid #ccc;
}

.application-title {
    margin-bottom: 20px;
}

.application-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.application-item {
    width: calc(100%/3);
    padding: 10px;
}

.table {
    padding: 0px 10px;
}

.table-tr {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #fff;
    padding: 15px 0;
    margin: 0 -10px;
    font-size: 13.5pt;
}

.table-th {
    min-width: 15%;
    padding: 10px;
}

.table-td {
    max-width: calc(100% - 15%);
    padding: 10px;
}

.table-td > * {
    margin-bottom: 10px;
}

.release-title {
    margin-bottom: 30px;
}


/* Menu default */

.btn-menu-mobile,
.search-mobile {
    display: none;
}

/* fancybox */
.fancybox-title .close {
    position: absolute;
    top: calc(50% + 10px);
    right: 0;
    transform: translate(0, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    width: auto !important;
}

.fancybox-title .close i {
    font-size: 20px;
    margin-left: 8px;
}

.fancybox-prev span,
.fancybox-next span{
    visibility: visible !important;   
}

.fancybox-next span {
    background-image: url(https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/right.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 60px !important;
    background-size: auto !important;
}

.fancybox-prev span {
    background-image: url(https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/left.png) !important; 
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 60px !important;
    background-size: auto !important;
}

.fancybox-lock .fancybox-overlay {
    overflow: auto;
    overflow-y: scroll;
    background: rgb(0 0 0 / 50%);
}
/* Css for min-with pc */

@media only screen and (min-width: 768px) {
    /* Menu css only pc */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        transition: 0.5s all;
    }

    body.admin-bar header{
        top: 32px;
    }

    .header-menu {
        background: linear-gradient(to top, #0075ae 50%, #1db2f9 100%);
    }
    .h-menu-row {
        position: relative;
        z-index: 100;
    }
    ul#menu-primary>li {
        padding: 23px 22px;
        width: calc(100%/4);
        text-align: center;
        position: relative;
        background: linear-gradient(to top, #0076b0 45%, #008fd3 54%);
        transition: 0.5s all;
        border-right: 1px solid #00537b;
        border-left: 1px solid #42befa;
    }
    ul#menu-primary>li:after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        width: 99%;
        left: 1px;
        height: 50%;
        background: linear-gradient(264deg, rgb(0 118 176), rgb(122 122 122 / 0%) 70.71%), linear-gradient(127deg, rgb(0 118 176), rgba(0, 255, 0, 0) 70.71%), linear-gradient(357deg, rgb(255 255 255 / 76%), rgb(255 255 255 / 0%) 70.71%);
    }
    ul#menu-primary {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        list-style: none;
        position: relative;
        z-index: 1;
        border-left: 1px solid #00537b;
        border-right: 1px solid #42befa;
    }
    ul#menu-primary>li>a {
        color: #fff;
        font-weight: bold;
        position: relative;
        z-index: 1;
    }
    ul#menu-primary>li ul.sub-menu li.menu-item-has-children a {
        position: relative;
    }
    ul#menu-primary>li ul.sub-menu li.menu-item-has-children:hover>a::after {
        content: '\f0d7';
    }
    ul#menu-primary>li ul.sub-menu li.menu-item-has-children>a::after {
        content: "\f0d7";
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 900;
        font-family: "Font Awesome 6 Free";
    }
    ul#menu-primary>li>a::after {
        /* content: ""; */
        display: block;
        top: 53%;
        left: 0;
        width: 100%;
        height: 70px;
        position: absolute;
        background: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/shadow_menu_item.png') center no-repeat;
        z-index: 3;
    }
    ul#menu-primary>li>a::before {
        /* content: ""; */
        display: block;
        top: 36%;
        left: 0;
        width: 100%;
        height: 70px;
        position: absolute;
        background: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/shadow_menu_item_red.png') center no-repeat;
        z-index: 1;
    }
    ul#menu-primary>li.menu-item-has-children::before {
        content: "";
        display: inline-block;
        background: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/menu_has_child.png') no-repeat center;
        position: absolute;
        bottom: 0px;
        margin: auto;
        z-index: 99;
        width: 13px;
        height: 13px;
        left: 50%;
        transform: translate(-50%, 0);
        background-size: 13px;
    }
    ul#menu-primary>li>ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 100%;
        max-width: 400px;
        width: 100%;
        list-style: none;
    }
    ul#menu-primary>li>ul.sub-menu .sub-menu {
        position: absolute;
        list-style: none;
        left: 100%;
        top: 0;
        min-width: 100%;
    }
    ul#menu-primary ul.sub-menu {
        background: #1583b8eb;
        z-index: 9999;
        transition: 0.5s all;
        visibility: hidden;
        transform: translate(0, 20px);
        opacity: 0;
    }
    ul#menu-primary>li ul.sub-menu a {
        color: #fff;
        padding: 13px;
        display: block;
        line-height: normal;
        text-align: center;
        font-weight: 600;
        transition: 0.3s all;
    }
    ul#menu-primary>li ul.sub-menu li {
        border-bottom: 1px solid #ffffff7a;
    }
    ul#menu-primary>li ul.sub-menu li.active>a {
        background: #0088c9;
        color: #ffffff;
    }
    ul#menu-primary li.active>ul.sub-menu {
        visibility: unset;
        transform: translate(0, 0);
        opacity: 1;
    }
    ul#menu-primary li.active::before {
        display: none;
    }
    ul#menu-primary li.active {
        background: linear-gradient(to bottom, #0088c9 50%, #0091d8);
    }
}


/* Css for tablet and mobile */

@media only screen and (max-width: 1140px) {
    /* home */
    .content-main {}
    .sidebar.left {
        padding: 0 36px;
    }
    /* slide */
    .swiper-button-next {
        right: 0;
    }
    .swiper-button-prev {
        left: 0;
    }
}

@media only screen and (max-width: 1000px) {
    section.home-title {
        padding: 15px;
    }
    section.home-title .title-h1 {
        padding: 15px;
        font-size: 16pt;
    }
    .sidebar-contact a {
        font-size: 16px;
    }
}

@media only screen and (max-width: 845px) {
    .info-left {
        width: 100%;
        text-align: center;
        margin: auto;
        margin-bottom: 15px;
        max-width: 100%;
    }
    .info-right {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    
    .list-post {
        /* margin: 0 -10px; */
    }
    .item-post {
        /* padding: 0 10px; */
    }
    .about-ft {
        text-align: left;
    }
    .menu-ft {
        /* margin-bottom: 20px; */
    }
    .logo-ft {
        margin-bottom: 15px;
    }
    footer {
        padding: 30px 10px;
        margin-bottom: 100px;
    }

    .sidebar.left {
        order: 2;
        max-width: 100%;
        width: 100%;
        margin-top: 20px;
        padding: 20px;
        margin-bottom: 50px;
    }
    .content-main .content {
        width: 100%;
        margin-bottom: 30px;
        padding: 0;
    }
    .sb-item-post {
        width: calc(100%/2);
        padding: 0 10px;
        margin: 0 0 10px 0;
    }
    .sb-list-post {
        margin: 0 -10px;
        display: flex;
        flex-wrap: wrap;
        align-items: self-start;
    }
    .sb-item-post .rank {
        left: 15px;
    }
    .wp-block-embed__wrapper {
        text-align: center;
    }
    .item-logo-app {
        margin: 0 0 5px 0;
        padding: 0 10px;
        max-width: calc(100%/4);
    }
    
    .list-logo-app {
        justify-content: center;
        width: auto;
    }

    .fancybox-next span{
        right: 0 !important;
        background-size: 50% !important;
    }
    .fancybox-prev span{
        left: 0 !important;
        background-size: 50% !important;
    }
}

@media only screen and (max-width: 767px) {
    /* menu css only mobile and tablet */
    body.mobile {
        overflow: hidden;
    }
    .header-top {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 999;
        padding: 5px;
    }
    body.admin-bar .header-top {
        top: 45px;
    }
    .h-top-right {
        margin-right: 30px;
    }
    .h-top-language,
    .h-top-search {
        display: none;
    }
    .h-top-row {
        justify-content: center;
    }
    .h-top-logo {
        padding: 5px;
    }
    .btn-menu-mobile {
        position: fixed;
        z-index: 11119;
        transition: 1s all;
        right: 0;
        display: block;
        top: 0;
    }
    .btn-menu-mobile .icon-menu i {
        width: 50%;
        height: 10px;
        border: 2px solid #fff;
        border-right: 0;
        border-left: 0;
    }
    body.admin-bar .btn-menu-mobile {
        top: 45px;
    }
    .btn-menu-mobile.clicked {
        /* transform: translateY(10px); */
    }
    .search-mobile {
        display: block;
        padding: 10px;
    }
    .btn-menu-mobile .icon-menu {
        max-width: 100%;
        background: #0086c8;
        line-height: normal;
        min-width: 61px;
        min-height: 61px;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 26px;
    }
    .h-menu-mobile {
        display: flex;
        /* flex-wrap: wrap; */
        justify-content: space-between;
        align-items: center;
    }
    ul#menu-primary,
    ul#menu-primary ul {
        list-style: none;
        position: relative;
    }
    body.admin-bar .menu-mobile-wrap {
        top: 45px;
    }
    .menu-mobile-wrap {
        width: 100%;
        background: #004c71;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(300px);
        visibility: hidden;
        transition: 1s all;
        opacity: 0;
        bottom: 0;
        overflow: scroll;
        z-index: 1111;
    }
    .search-row {
        background: no-repeat;
        justify-content: center;
        padding: 25px 15px;
        flex-wrap: nowrap;
    }
    .search-row input.search-field {
        max-width: 100%;
        width: 79%;
        padding: 10px 5px;
    }
    .h-menu-row {
        position: relative;
        transition: 1s all;
    }
    .icon-language i {
        font-size: 20px;
    }
    .icon-language span {
        font-size: 12px;
    }
    .close span:after,
    .close span:before {
        content: "";
        display: block;
        position: absolute;
        width: 1px;
        top: 5px;
        bottom: 5px;
        left: 20px;
        border-left: 2px solid #fff;
    }
    .close span:before {
        transform: rotateZ(317deg);
    }
    .close span:after {
        transform: rotateZ(45deg);
    }
    .close {
        width: 40px;
        height: 40px;
        position: absolute;
        cursor: pointer;
        right: 5px;
        top: 2px;
    }
    /* body,
    html {
        overflow-x: hidden;
    } */
    .menu-mobile-wrap.mobile-show {
        visibility: unset;
        transform: translateX(0);
        opacity: 1;
    }
    .header-menu-primary {
        position: relative;
    }
    .sub-menu-mobile>li {
        padding: 10px 22px;
        text-align: center;
        position: relative;
        background: #0094dd;
        transition: 0.5s all;
    }
    ul#menu-primary>li,
    .sub-menu-mobile>li:first-child {
        padding: 10px;
        text-align: center;
        position: relative;
        background: linear-gradient(to top, #0078b0 48%, #0094dd 53%);
        transition: 0.5s all;
    }
    ul#menu-primary>li:after,
    .sub-menu-mobile>li:first-child::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        width: 99%;
        left: 1px;
        height: 50%;
        background: linear-gradient(264deg, rgb(0 118 176), rgb(122 122 122 / 0%) 70.71%), linear-gradient(127deg, rgb(0 118 176), rgba(0, 255, 0, 0) 70.71%), linear-gradient(357deg, rgb(255 255 255 / 76%), rgb(255 255 255 / 0%) 70.71%);
    }
    ul#menu-primary li.menu-item.active-menu,
    .sub-menu-mobile li.menu-item.active-menu {
        background: linear-gradient(to top, #2a4f9c 48%, #3b5da5 53%);
    }
    
    ul#menu-primary li.menu-item.active-menu::after,
    .sub-menu-mobile li.menu-item.active-menu::after {
        background: linear-gradient(264deg, #2a4f9c, rgb(122 122 122 / 0%) 70.71%), linear-gradient(127deg, #2a4f9c, rgba(0, 255, 0, 0) 70.71%), linear-gradient(357deg, rgb(255 255 255 / 76%), rgb(255 255 255 / 0%) 70.71%);
    }
    ul#menu-primary li,
    .sub-menu-mobile li {
        display: block;
        position: relative;
        border-bottom: 2px solid #37b9f8;
        font-size: 15pt;
    }
    ul#menu-primary ul li:last-child,
    .sub-menu-mobile li:last-child {
        border-bottom: none;
    }
    ul#menu-primary a,
    .sub-menu-mobile a {
        color: #fff;
        padding: 10px 18px 10px 10px;
        display: block;
        position: relative;
        font-weight: bold;
        font-size: 14pt;
        z-index: 2;
    }
    .sub-menu-mobile li:not(.menu-parent-mobile) a {
        font-size: 14pt;
        font-weight: 700;
    }
    ul#menu-primary a:hover {
        /* background: #000; */
        /* color: #fff; */
    }
    ul#menu-primary ul.sub-menu,
    .sub-menu-mobile ul.sub-menu {
        padding-left: 15px;
        display: none;
    }
    ul#menu-primary li.menu-item-has-children>a:after,
    .sub-menu-mobile li.menu-item-has-children>a:after {
        content: "";
        display: block;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 900;
        font-family: "Font Awesome 6 Free";
        width: 36px;
        font-size: 13px;
        background: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/menu-down.png') center no-repeat;
        height: 37px;
        background-size: 17pt;
    }
    ul.sub-menu-mobile .prev {
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 11;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/menu-down.png') center no-repeat;
        background-size: 17pt;
    }
    li.menu-item.menu-item-search-form input.search-submit {
        background: linear-gradient(to top, #040404 48%, #0f0f0f 10%, #ffffff 95%);
        margin-left: auto;
        border-radius: 5px;
    }
    input.search-submit {
        padding: 6px 20px;
        height: 39px;
    }
    li.menu-item.menu-item-search-form input.search-field {
        box-shadow: unset;
        border-bottom: 1px solid #ccc;
        border-radius: 5px;
        max-width: 80%;
    }
    li.menu-item.menu-item-search-form .search-row {
        margin-bottom: 10px;
        background: no-repeat;
    }
    main#home {
        padding-top: 60px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    section.slider .container {
        padding: 0;
    }
    .item-new .status {
        display: none;
    }
    .item-new .info {
        width: 100%;
        margin-top: 20px;
        padding: 0 10px;
    }
    .btn-view-more.right {
        justify-content: center;
    }
   
    .table-th {
        width: 100%;
    }
    .table-td {
        width: 100%;
        padding: 10px 25px;
        max-width: 100%;
    }
    .list-title {
        margin: 0 -10px;
    }
    .item-title {
        width: calc(100%/2);
        padding: 0 10px;
        margin-bottom: 15px;
    }
    .item-title .info {
        margin-top: 10px;
    }

    .logo-menu-mobile {
        max-width: 250px;
        margin: auto;
    }

    .container-home, .container-page {
        padding: 0 20px;
    }

    .h-top-logo img {
        max-height: 36px;
    }
    
    .sb-item-post .thumbnail {
        max-width: 100%;
        width: 50%;
    }
    
    .sb-item-post .info {
        width: 50%;
    }

    ul#menu-footer>li>a {
        font-size: 11pt;
        padding: 0 10px;
    }

    .item-post .info h3 a {
        font-size: 13pt;
    }
    .info-item-search .desc {
        -webkit-line-clamp: 2;
    }
}

@media only screen and (max-width: 660px) {
    section.home-title .title-h1 {
        line-height: normal;
        padding: 0;
    }
    .sb-item-post .info h3 {
        font-size: 13px;
    }
    main#home {
        padding-top: 45px;
    }
    .btn-menu-mobile {}
    body {
        font-size: 14px;
    }
    .info-right h1 {
        font-size: 19pt;
    }
    .title-archive h1 {
        font-size: 30px;
    }
    section.block {
        margin-bottom: 40px;
    }
    .item-post {
        width: calc(100%/2);
        margin-bottom: 5px;
    }
    .btn-menu-mobile .icon-menu {
        min-width: 57px;
        min-height: 57px;
    }
    section.home-title {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
    div#wpadminbar.nojq.mobile {
        top: 0;
        position: fixed;
    }
    /* single title */
    .info-left {
        width: 100%;
        text-align: center;
        margin: auto;
        margin-bottom: 15px;
        max-width: 100%;
    }
    .info-left img {
        height: auto;
        display: block;
        margin: auto;
        width: 100%;
    }
    .info-right {
        width: 100%;
    }
    .gallery-title {
        margin-bottom: 20px;
    }
    .gallery-item {
        width: calc(100%/2);
    }
    .application-item {
        width: calc(100%/2);
    }
    .item-search{
        margin: 0;
    }
    .item-search .thumbnail {
        width: 30%;
        padding: 0 10px;
    }
    .info-item-search {
        width: calc(100% - 30%);
        padding: 0 10px;
    }
    .h-top-logo img {
        max-height: 30px;
    }
    .btn-menu-mobile .icon-menu {
        min-width: 51px;
        min-height: 51px;
    }
    section.home-title .title-h1 {
        font-size: 14pt;
    }
    .item-logo-app {
        /* max-width: calc(100%/3); */
    }
}

@media only screen and (max-width: 521px) {
    section.home-title .title-h1 {
        font-size: 13pt;
    }
    .table-tr {
        font-size: 12pt;
    }
    .nav-links a, .nav-links span{
        width: 30px;
        height: 30px;
    }
}

@media only screen and (max-width: 500px) {
    section.home-title .title-h1 {
        font-size: 12pt;
    }
    .title-single h1 {
        font-size: 15pt;
    }
    .about-ft.desc {
        font-size: 9pt;
    }
    .nav-links a.next {
        margin-left: 5px;
    }
    .nav-links a.prev {
        margin-right: 10px;
    }
}
@media only screen and (max-width: 480px) {
    .logo-ft img {
        max-width: 300px;
        width: 100%;
    }
    .item-post .info h3 a {
        font-size: 12pt;
    }   
    .info-item-search .title {
        font-size: 11pt;
    } 
    .block-title h2 {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 450px) {
    
    .sb-item-post .thumbnail {
        width: 100%;
        max-width: 100%;
    }
    .sb-item-post .info {
        width: 100%;
        margin-top: 10px;
    }
    ul#menu-primary li.menu-item-has-children>a:after, .sub-menu-mobile li.menu-item-has-children>a:after {
        background: url('https://www.snk-corp.co.jp/official/akeaka/wp-content/themes/hamster/assets/image/menu-down.png') center no-repeat;
        background-size: 17pt;
    }
}

@media only screen and (max-width: 420px) {
    .item-logo-app {
        /* max-width: calc(100%/2); */
    }
    section.home-title .title-h1 {
        font-size: 10pt;
    }
    
}
@media only screen and (max-width: 400px) {
    .block-title h2 {
        font-size: 30px;
    }
    .block-title h3 {
        font-size: 14px;
    }
    .title-rank.title-sidebar h2 {
        font-size: 30px;
    }
    .title-archive h1 {
        font-size: 25px;
    }
    ul#menu-primary a,
    .sub-menu-mobile a {
        font-size: 12pt;
    }
    .sub-menu-mobile li:not(.menu-parent-mobile) a {
        font-size: 11pt;
    }
    ul#menu-primary li.menu-item-has-children>a:after,
    .sub-menu-mobile li.menu-item-has-children>a:after,
    ul.sub-menu-mobile .prev {
        background-size: 15px;
    }
}

@media only screen and (max-width: 391px) {
    section.home-title .title-h1 {
        font-size: 9pt;
    }
    
}
@media only screen and (max-width: 360px) {
    .search-mobile {
        display: block;
        padding: 15px 10px;
    }
    .container-home,
    .container-page {
        padding: 0 15px;
    }
    
    .item-search .thumbnail {
        width: 40%;
    }
    .info-item-search {
        width: calc(100% - 40%);
    }
    section.home-title .title-h1 {
        font-size: 8pt;
    }
}

@media only screen and (max-width: 320px) {
    .item-search .thumbnail {
        width: 100%;
        margin-bottom: 10px;
    }
    .info-item-search {
        width: 100%;
    }
    .h-top-logo img {
        max-height: 25px;
    }
    .btn-menu-mobile .icon-menu {
        min-width: 46px;
        min-height: 46px;
    }
    section.home-title .title-h1 {
        font-size: 7pt;
    }
    .item-logo-app {
        max-width: calc(100%/2);
    }
}

@media only screen and (max-width: 300px) {
    .gallery-item {
        width: 100%;
    }
    .application-item {
        width: 100%;
    }
    .list-title {
        margin: 0 -10px;
    }
    .item-title {
        width: 100%;
        margin-bottom: 10px;
    }
    .item-post {
        width: 100%;
    }
    .sb-item-post {
        width: 100%;
        margin-bottom: 15px;
    }
    .sidebar.left {
        padding: 15px;
    }
    .block-title h2 {
        padding: 0;
    }
    .block-title h2 {
        font-size: 15pt;
    }
}