@charset "utf-8";
/*
Theme Name: カニ通 Theme
Description: カニ通 themes
Version: 1.0
Author: Y
*/


/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color: #353535;
    --red-color1: #E9001E;
    --red-color2: #F6ACB5; /*薄い*/
    --bg-color:   #FCF7F0;
    --date-color: #BCBCBC;

    --base-font: 'Noto Sans JP', sans-serif;
    --base-font-size: 18px;
    --base-font-en: 'Montserrat', sans-serif;
}

body {
	position: relative;
	padding-top: 120px;
    font-size: var(--base-font-size);
	font-family: var(--base-font);
	color: var(--base-color);
    background: var(--bg-color);
}
input,
select,
textarea,
radio,
checkbox,
button {
	font-family: 'Noto Sans JP', sans-serif;
}

.sp {
    display: none !important;
}


.inner {
    max-width: 1440px;
	padding: 0 20px;
	margin:auto;
	position: relative;
}

/* off */
.link-off a {
    cursor: default !important;
    color: #ccc !important;
}

/* nav-line */
.nav-line a:not(.no-line) {
	opacity: 1 !important;
	text-decoration: none !important;
    position: relative;
}
.nav-line a:not(.no-line):after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 0;
    border-top:solid 2px #fff;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.nav-line a:not(.no-line):hover:after {
    transform-origin: left top;
    transform: scale(1, 1);
}





/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#gb-header {
    color: #fff;
	width: 100%;
    border-bottom: solid 1px #fff;
	background: var(--red-color1);
	position: fixed;
	left:0;
	top: 0;
	z-index: 1000;
}
#gb-header .inner {
    height: 120px;    
}
.site-title {
    width: 146px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.site-title a {
    display: flex;
    align-items: center;
}
.header-nav {
    padding-right: 100px;
    position: absolute;
    right: 20px;
}
.header-nav__list {
    display: flex;
    align-items: center;
    height: 120px;
}
.header-nav__list > li {
    margin-left: 50px;
}
.header-nav__list > li a {
    color: #fff;
}

.search-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    background-image: url("./assets/img/cmn/icon_search.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px;
    border-radius: 10000px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: calc(50% - 25px);
}


/* hidden-search */
.hidden-search {
    color: #fff;
    width: 100vw;
    height: 100vh;
    padding: 0 20px;
    background: var(--red-color1);
    overflow: auto;
    opacity: 0;
    transform-origin: top;
    transform: scale(1, 0) translateX(-50%);
    position: fixed;
    left: 50%;
    top: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 10000;
}
.hidden-search.active {
    padding-top: 100px;
    transform: scale(1) translateX(-50%);
    opacity: 1;
}
.hidden-search-in {
    max-width: 940px;
    margin: auto;
    position: relative;
}
.search-close-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    background-image: url("./assets/img/cmn/icon_search_close.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px;
    border-radius: 10000px;
    cursor: pointer;
    position: absolute;
    right: -50px;
    top: -70px;
}
.search-form {
    background: #fff;
    height: 80px;
    margin-bottom: 80px;
    border-radius: 1000px;
    position: relative;
    overflow: hidden;
}
.search-form-text {
    text-indent: 2em;
    height: 80px;
    width: calc(100% - 80px);
    border: none;
    outline: none;
}
.search-form-btn {
    width: 52px;
    height: 80px;
    background: url("./assets/img/cmn/icon_search.png") no-repeat center;
    background-size: 53px;
    position: absolute;
    right: 30px;
}
.search-tag-title {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: solid 1px;
}
.search-tag-title h3 {
    font-size: 18px;
    font-weight: 500;
}
.search-tag-title h3 i {
    display: inline-block;
    margin-right: 15px;
    width: 30px;
    height: 30px;
    background-image: url("./assets/img/cmn/icon_post_cmn_w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: -7px;
}
.search-tag-title p {
    font-family: var(--base-font-en);
    margin-left: 20px;
    margin-top: 2px;
}
.search-tag__list {
    margin-left: -10px;
}
.search-tag__list >li {
    font-size: 14px;
    display: inline-block;
    margin: 10px 0 0 10px;
}
.search-tag__list >li a {
    color: #fff;
    display:block;
    padding: 5px 20px;
    border: solid 1px;
    border-radius: 10000px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.search-tag__list >li a:hover {
    color: var(--red-color1);
    background: #fff;
}



/* ----------------------------
   contets
-------------------------------*/
#container {
	overflow: hidden;
}

.contents {
    margin-bottom: 100px;
	position:relative;
}

/* cmn-title */
.cmn-title {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
.cmn-title h2 {
    font-size: 30px;
    font-weight: 500;
    color: var(--red-color1);
}
.cmn-title h2 i {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 15px;
}
.cmn-title h2 i.icon-post {
    width: 36px;
    height: 36px;
    background-image: url("./assets/img/cmn/icon_post_cmn.png");
    vertical-align: -7px;
}
.cmn-title h2 i.icon-movie {
    width: 53px;
    height: 35px;
    background-image: url("./assets/img/cmn/icon_post_yt.png");
}
.cmn-title p {
    font-size: 30px;
    font-family: var(--base-font-en);
    margin-left: 20px;
    margin-top: 2px;
    color: var(--red-color2);
}

.cmn-desc {
    text-align: center;
    line-height: 2;
    margin-bottom: 80px;
}

.more-btn {
    text-align: center;
    margin-top: 80px;
}
.more-btn a {
    display: inline-block;
    width: 100%;
    max-width: 470px;
    padding: 20px 0;
    color: #fff;
    background: var(--red-color1);
    border-radius: 10000px;
   -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.more-btn a:after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(45deg);
    margin-left: 20px;
    vertical-align: 2px;
}
.more-btn a:hover {
    color: var(--red-color1);
    background: #fff;
}
.more-btn.red a {
    color: var(--red-color1);
    background: #fff;
    border: solid 1px #fff;
}
.more-btn.red a:hover {
    color: #fff;
    background: var(--red-color1);
}



/* slide */
.has-slide {
    overflow: hidden;
}
.has-slide .swiper-container {
    overflow: visible;
}

/* post */
.post__list {
    display: flex;
    flex-wrap: wrap;
}
.post__list-in {
	display: block;
    background: #fff;
    color: var(--base-color);
    height: 100%;
}
.post-thumb {
}
.post-info {
    padding: 20px;
}
.post-title {
}
.post-info-sub {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.post-category {
    display: inline-block;
    color: var(--red-color1);
    padding: 2px 5px;
    border:solid 1px;
}
.post-date {
    color: var(--date-color);
    margin-left: auto;
}

.post__list-2 > li {
    width: 48%;
    margin: 0 0 50px 4%;
}
.post__list-2 > li:nth-child(2n+1) {
    margin-left: 0;
}
.post__list-3 > li {
    width: 32%;
    margin: 0 0 50px 2%;
}
.post__list-3 > li:nth-child(3n+1) {
    margin-left: 0;
}



/*------------------------------------------------
   footer style
--------------------------------------------------*/
#gb-footer {
    padding: 140px 0;
}
.footer-in {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.footer-logo {
    width: 155px;
}
.footer-adrr {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    justify-self: end;
}
.footer-adrr p {
    color: var(--red-color1);
    font-size: 15px;
    gap: 30px;
}
.footer-adrr p a{
    color: var(--red-color1);
    text-decoration: underline;
}
.footer-sns {
    display: flex;
    align-items: center;
    margin-left: auto;
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
.footer-sns p {
    color: var(--red-color1);
    font-size: 20px;
    font-weight: 500;
    margin-right: 15px;
}
.footer-sns__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* .footer-sns__list >li {
    margin-left: 30px;
} */


/* backtotop */
#backtotop {
	color: #fff;
	font-sie: 20px;
	font-weight:bold;
	width: 52px;
	line-height: 52px;
	text-align:center;
	cursor:pointer;
	background: rgba(0,0,0,0.2);
	border-radius: 52px;
	visibility: hidden;
	opacity: 0;
	position:fixed;
	right: 10px;
	bottom: 40px;
	z-index: 10;
   -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#backtotop.show {
	visibility: visible;
	opacity: 1;
	bottom: 50px;
}

/* -----------------------------------

media query

------------------------------------- */

/* 815px 以下 */
@media (max-width: 815px) {

	body {
        font-size :13px;
		padding-top: 80px;
		min-width: 375px;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}

    #gb-header .inner {
        height: 80px;
    }
    .site-title {
        width: 100px;
    }
    .header-nav {
        height: 80px;
        padding-right: 0;
        position: relative;
        right: 0;
    }
    #menu-btn {
        width: 60px;
        height: 30px;
        cursor: pointer;
        padding-top: 24px;
        padding-left: 10px;
        position: absolute;
        right: 70px;
        top: calc(50% - 15px);
    }
    #menu-btn span {
        width: calc(100% - 20px);
        height: 2px;
        background: #fff;
        position: absolute;
        left: 0;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-btn span.t {
        top: 0;    
    }
    #menu-btn span.m {
        top: 14px;    
    }
    #menu-btn span.b {
        bottom: 0;
    }
    #menu-btn.active span.t {
        transform: rotate(45deg);
        top: 14px;
    }
    #menu-btn.active span.m {
        width: 0;
    }
    #menu-btn.active span.b {
        transform: rotate(-45deg);
        bottom: 13px;
    }
    
    .search-close-btn {
        right:0;
    }

    #sp-nav {
        display:block;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--red-color2);
        padding: 20px;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left:0;
        top: 80px;
        z-index: -9999;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #sp-nav.active {
        opacity: 1;
        visibility: visible;
        z-index: 9999;
    }
    .sp-nav__list {
        margin-bottom:50px;
    }
    .sp-nav__list >li {
        border-bottom: dotted 1px;
    }
    .sp-nav__list >li a {
        display: block;
        padding: 10px;
        font-weight: 500;
        color: var(--base-color);
    }
    .sp-sns__list {
        display: flex;
        align-items: center;
    }
    .sp-sns__list >li {
        display: inline-block;
        margin-right: 15px;
    }

    .cmn-title h2 {
        font-size: 18px;
    }
    .cmn-title h2 i.icon-post {
        width: 20px;
        height: 20px;
        vertical-align: -4px;
    }
    .cmn-title p {
        font-size: 18px;
    }

/* post */
    .post__list-2 > li,
    .post__list-3 > li {
        width: 100%;
        margin: 0 0 30px;
    }

    #gb-footer {
        padding: 70px 0;
    }
    .footer-in {
        display: block;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 30px;
    }
    .footer-adrr p {
        font-size: 15px;
    }
    .footer-sns {
        display: block;
        margin: 0px 0px 50px 0;
    }
    .footer-sns p {
        margin-bottom: 20px;
        margin-top: 15px;
        margin-right: 0;
    }

}

