/*-------------------------*/
* {
    font-family: "ヒラギノ角ゴ ProN";
    min-height: 0;
    min-width: 0;
}

html {
    margin: 0 !important;
    display: inline-block !important;
    /*scroll-behavior: smooth !important;*/
}

p {
    margin-bottom: 0;
}

html a:hover,
button:hover {
    text-decoration: none;
}

header.site-header {
    height: 128px;
    z-index: 9999;
}

.wrap {
    overflow: hidden;
}

.row {
    padding: 0;
    margin: 0;
}

/*-------------font-size-----------------*/
.twenty, .wrapper-text p, .try-text-in h5 {
    font-weight: 600;
}

.service-button {
    font-family: inherit;
    font-size: 100%;
}

a, .wrapper-inside p, .list-second, .more, .btn {
    font-size: 16px;
}


.btn {
    padding: 0 !important;
    border-radius: 0;
}

.twenty {
    font-size: 20px;
}

/*-------------color-----------*/
.nav-white li > a, .wrapper-text p, .try-text, .wrapper-text-right, .gallary h5, footer {
    color: white !important;
}

.try, .gallary, footer {
    background-color: #1F1F1F;
}

.zaiko, .button-right, .side-right {
    background-color: white;
}

.button-right {
    color: #1F1F1F;
}

.mitsumo {
    background-color: #BC2828;
    color: white;
}

.try-text-right p {
    color: #BC2828;
}

/*-----------------col----------------*/
.col-md-3 {
    flex: 0 0 24.5%;
}

.col-md-3, .col-md-4 {
    padding-right: 0;
    padding-left: 0;
}

.col-md-4 {
}

.col-md-5 {
    padding-right: 0;
    padding-left: 0;
}

.col-md-6, .col-md-7, .col-md-8 {
    padding-right: 0;
    padding-left: 0;
}

/*---------------------------------*/
.nav-link:hover {
    font-weight: bold;
}

.navbar-expand-sm .navbar-nav .nav-item > a {
    margin-right: 40px;
    padding-left: 0;
}

.navbar-nav .nav-item > a {
    color: #343a40;
    position: relative;
    text-decoration: none;
    margin: .5rem 1rem;
}

.navbar-nav .nav-item > a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -4px;
    transition: .4s;
}

.navbar-nav .nav-item > a:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    background-color: #BC2828;
    transition: .5s;
}

.navbar-brand {
    padding-right: 24px;
    margin-right: 0 !important;
}

#menu-item-52 {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 160%;
    right: 0;
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    width: 155px;
    z-index: 10;
}

.nav-item-child {
    text-align: right;
}

.nav-item-kitami {
    border-bottom: 1px solid #cccccc;
    padding: 10px 20px 9px;
}

#menu-item-1210, #menu-item-1211 {
    position: relative;
}

#menu-item-1210:hover, #menu-item-1211:hover {
    background-color: #e5e5e5;
}

#menu-item-1210:hover::before, #menu-item-1211:hover::before {
    transition: all 0.3s;
    transform: translate(10px, -6px);
}


#menu-item-1210::before, #menu-item-1211::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background-image: url(./../img/menu-car-icon.png);
    background-size: 15px;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    transition: all 0.3s;
}

.nav-item-abashiri {
    padding: 12px 20px 8px;
}


.nav-item-child a {
    color: #343a40;
    font-size: 15px;
}

.container {
    max-width: 120em;
    max-width: 1920px;
    /* overflow: hidden; */
    margin: auto;
    padding: 0;
}

.container__inner {
    max-width: 80em;
    padding-right: 0;
    padding-left: 0;
}

.top-wrapper img.img-fluid {
    margin-top: 0;
}

.wrapper-text-right p {
    margin-bottom: 18px;
}

/*
.first-movie-left::before{
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    -webkit-transform: skewX(-26deg);
    transform: skewX(-26deg);
    width: 1920px;
    z-index:97;
}*/
.wrapper-text p {
    position: relative;
    top: 45%;
}

.btn-block {
    width: 255px !important;
    height: 61px;
}

.first-car {
    position: relative;
    overflow: hidden;
    padding-right: 0;
    padding-left: 0;
}

.gal-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.gal a {
    display: block;
}

.sen {
}

.try-text .sp {
    display: block;
    width: 100%;
}


.try-text .pc {
    display: none;
}

.button-right {
    display: block;
    margin: 0 0 18px auto;
}

/*ーーーーーーーーーーーpeople-------------*/
ul {
    margin: 0;
    padding-left: 0;
}

li {
    list-style: none;
}

.list-second {
    padding-bottom: 26px;
}

/*.foryou {*/
/*    margin-top:*/
/*}*/

/*---------magazine-----------------*/

.magazine-line::before {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    transform: translateY(-50%);
    width: 38%;
    height: 1px;
    background-color: black;
}

.magazine-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 38%;
    height: 1px;
    background-color: black;
}

.magazine-line:before {
    left: 0;
}

.magazine-line:after {
    right: 0;
}

.magazine h4 {
    text-align: center;
}

.magazine h4::after {
    content: "";
    border-top: 2px solid gray;
}

.magazine-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.magazine-box p {
    background-color: #1F1F1F;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.magazine-box img {
    width: 100%;
    height: auto;
}

.more {
    width: 200px;
    padding: 23px;
    margin: 23px auto 0;
    border: 1px solid black;
    background-color: white;
}

/*---------map--------------------*/

.map-box img {
    width: 100%;
    height: 509px;
}

.map-in {
    position: relative;
    top: 10px;
}

.google-button {
    width: 100%;
    background-color: #1F1F1F;
    color: white;
    text-align: center;
    margin-right: 30px;
    padding: 20px 0;
}

.movie-box img {
    width: 100%;
    height: 100%;
}

/*---------gallary------------------*/

.gallary h5 {
    text-align: center;
}

.gal {
    position: relative;
}

/*----------------space-------------*/
.space {
    height: 320px;
    background-color: #D1D1D1;
}

/*---------------footer--------------*/
footer p {
    padding: 12px 0;
    text-align: center;
}

/*------------slider---------------*/
.slider {
    background-color: pink;
}

.slick-next {
    background-color: orange !important;
    width: 20px !important;
}

/*.slick-slide {
    display: flex !important;
}*/

.my-dots {
    background-color: white;
}

.carousel-indicators > li {
    border-radius: 50%;
    margin: 1px 10px;
    height: 20px;
    max-width: 20px;
}

.carousel-indicators img {
    position: relative;
    top: 7px;
    margin: 1px 10px;
    height: 100% !important;
    max-width: 100%;
}

/*----------animated-------------*/
.delay {
    animation-duration: 1s; /* アニメーションの時間 */
    animation-delay: 1s; /* アニメーション開始時間 */
    /*animation-iteration-count: infinite; /* アニメーションの繰り返し回数 */
}

/*wordpress calendar*/

#wp-calendar {
    width: 100%;
}

#wp-calendar th,
#wp-calendar td {
    text-align: center;
    padding: 4px;
}

/*site-footer*/

.site-footer {
    padding: 12px 0;
    border-top: 3px solid #1F1F1F;
}

.site-footer__inner {

}

.site-footer__inner-area {
    padding: 0 24px;
}

/*site-widget*/

.site-sidebar__inner .site-widget {
    margin-bottom: 48px;
}

.site-widget ul {
    padding-left: 1em;
}

.site-widget ul li {
    margin-bottom: 12px;
}

.site-widget ul li:last-child {
    margin-bottom: 0;
}

.site-widget a {
    text-decoration: none;
    color: #aaaaaa;
    transition: .3s;
}

.site-widget a:hover {
    color: #BC2828;
    transition: .3s;
}

h2.site-widget__title {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

h2.site-widget__title::before {
    content: '';
    position: absolute;
    height: 3px;
    width: 36px;
    bottom: 0;
    left: 0;
    background-color: #BC2828;
}

div.content__inner {

}

div.content__inner h2 {
    border-left: 8px solid #333;
    padding-left: 20px;
    margin: 36px 0;
}

div.content__inner h3 {
    border-bottom: 3px solid #333333;
    position: relative;
    padding-bottom: 4px;
    margin: 24px 0;

}

div.content__inner h3::before {
    content: '';
    position: absolute;
    display: block;
    border-bottom: solid 3px #BC2828;
    bottom: -3px;
    width: 15%;
}

div.content__inner h4 {
    position: relative;
    padding-left: 24px;
    margin: 24px 0;

}

div.content__inner h4::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 16px;
    height: 2px;
    background-color: #333;
}

.main__tags {
    margin-top: 12px;
}

.main__tags a {
    color: white;
    margin-right: 8px;
}

.main__tags a:hover {
    text-decoration: none;
}

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

header.main__header {
    position: relative;
    margin-bottom: 48px;
}

header.main_header img {
    width: 100%;
    height: 100%;
}

header.main__content--info {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 24px;
}

.carousel-inner {
    overflow: visible;
}

div.content__weekly .content__weekly--inner,
div.content__single .content__single--inner,
div.content__page .content__page--inner,
div.content__single .content__gallery--inner {
    display: block;
    margin: 0 auto;
    max-width: 60em;
}

div.content__single .content__gallery--inner {
    margin-top: 24px;
}


div.content__page header.main__header div.main__headline {
    position: relative;
    display: flex;
    width: auto;
    height: 240px;
    color: white;
    transform: none;
    right: 0;
    top: 0;
    justify-content: center;
    background-color: transparent;
}

div.content__page header.main__header div.main__headline h1 {
    text-shadow: 0 0 10px #000;
    font-weight: normal;
    margin-bottom: 0;
}

.post-categories li {
    display: inline-block;
    margin-right: 8px;
}

.post-categories li:last-child {
    margin-right: 0;
}

.main__headline--inner .post-categories li a {
    color: white;
    padding: 4px;
    transition: .3s;
    border: 1px solid white;
}

.main__headline--inner .post-categories li a:hover {
    border: 1px solid #BC2828;
    color: #BC2828;
    text-decoration: none;
    background-color: white;
    transition: .3s;
}

.main__content--info .post-categories li a {
    text-decoration: none;
    color: black;
    border: 1px solid #000;
    padding: 4px;
    transition: .3s;
}

.main__content--info .post-categories li a:hover {
    border: 1px solid #BC2828;
    background-color: #BC2828;
    color: white;
    transition: .3s;
}

.main__content--info ul.tags {
    list-style: none;
    margin: 12px 0;
}

.main__content--info time {
    font-size: 1.25em;
}

.main__content--info .post-categories {
    margin: 12px 0;
}

.main__content--info ul.tags li {
    display: inline-block;
    margin-right: 8px;
}

.main__content--info ul.tags li:last-child {
    margin-right: 0;
}

.main__content--info ul.tags li a {
    text-decoration: none;
    color: black;
}

.slick-slide img {
    max-width: 100%;
    height: auto;
}

.content__inner table {
    width: 100%;
}

.content__inner table th,
.content__inner table td {
    padding: 10px;
    border-bottom: 1px solid #1a1a1a;
}

.content__inner table th {
    color: white;
    background-color: #BC2828;
    border-right: 1px solid #1a1a1a;
}

.wpcf7-form {
    width: 100%;

}

.wpcf7-form table th {
    background-color: #b1acac;
}

.wpcf7-form table th,
.wpcf7-form table td {
    padding: 24px;

}

.wpcf7-form input[type="submit"] {
    margin: 24px auto;
    width: 100%;
    background-color: #bc2828;
    color: white;
    border: none;
    padding: 24px;
    display: block;
    transition: .3s;
}

.wpcf7-form input[type="submit"]:hover {
    transition: .3s;
    opacity: .75;
}

.gallery-other-photo {
    margin-top: 12px;
}

.gallery-section {
    display: flex;
    flex-direction: column;
}

.search-form button[type="submit"] {
    border: none;
    background-color: #bc2828;
    color: white;
}

.search-form input[type="search"] {
    -webkit-appearance: searchfield;
}

.pagination {
    justify-content: center;
}

.pagination a {
    color: white;
    background-color: #BC2828;
    padding: 8px 12px;
    border-radius: 4px;
    margin-right: 12px;
    transition: .3s;
}

.pagination a:hover {
    text-decoration: none;
    transition: .3s;
    background-color: #871f1f;
}

.pagination a.next {
    margin-right: 0;
}

.pagination span {
    border-radius: 4px;
    color: white;
    background-color: #871f1f;
    padding: 8px 12px;
    margin-right: 12px;
}

.gal-content {
    justify-content: flex-start;
}

.gal-content div.gal {
    margin-right:20px;
}
.gal-content div.gal:nth-child(3n) {
    margin-right:0;
}

@media (min-width: 90em) {
.gallery-area {
    max-height: 70vh;
    overflow: hidden;
}
}
.swiper-wrapper .swiper-slide {
    display:inline-block;
}
@media (min-width: 90em) {
.gallery-top .swiper-wrapper_inner img {
    max-width: 100%;
    height: 40% !important;
    width: auto;
} }



@media screen and (max-width: 986px) {
    .navbar-toggle {
        padding: .5rem 0;
        padding-left: 1rem;
    }

    .header-text {
        padding: .5rem;
        padding-right: 1rem;
    }

    .navbar {
        padding: 0px;
    }

    .navbar-nav {
        text-align: right;
    }

    .sub-menu {
        position: relative;
        margin-left: auto;
        padding: 0 16px;
        width: 96%;
        background-color:#e5e5e5;
    }

    #menu-item-1210::before, #menu-item-1211::before {
        display: none;
    }

    .nav-item {
        padding: 10px 0px;
        background-color:#f5f5f5;
        border-bottom: 1px solid #cccccc;
    }

    #menu-item-60, #menu-item-59, #menu-item-58, #menu-item-57 {
        background-color: #1a1a1a;
    }

    .nav-item:first-child {
        padding-bottom: 0px;
    }

    .nav-item-kitami, .nav-item-abashiri {
        padding: 10px 0px 9px;
    }
}
