@charset "utf-8";
/* CSS Document */
/*
Theme Name: 阿蘇小国〇〇研究所 Theme
Description: 阿蘇小国〇〇研究所 themes
Version: 1.0
*/

/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
	--base-color: #222;
    --main-color: #bc9d4b;
    --bg-color: #f7f7f7;
}


body {
    color: var(--base-color);
	position: relative;
    font-size: 16px;
	font-family: "Zen Kaku Gothic New", serif;
	padding-top: 80px;
}
input,
select,
textarea,
radio,
checkbox,
button {
	font-family: "Zen Kaku Gothic New", serif;
}

.sp {
    display: none !important;
}

.inner {
    max-width: 1140px;
    padding: 0 20px;
    margin: auto;
    position: relative;
}
.inner-in {
    padding: 0 100px;
}

/* link */
.link {
	color: var(--main-color);
	border-bottom: solid 1px;
}

/* off */
.link-off a {
    cursor: default !important;
    color: #ccc !important;
}

/* radius */
.radius10 {
	border-radius: 10px !important;
}

p {
    line-height: 1.6;
}

/* ----------------------------
   header style
-------------------------------*/
#gb-header {
    width: 100%;
	background: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10001;
}
.header-in {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}
.site-title {
    width: 300px;
    line-height: 1;
}
.site-title a {
    display: flex;
    align-items: center;
}
.main-btns {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.main-btns a {
    width: 180px;
    color: var(--base-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-left: 10px;
    border-radius: 1000px;
}
.main-btns a.main-btn-login {
    background: #f8f5f3;
}
.main-btns a.main-btn-cart {
    background: #473a2c;
    color: #fff;
}
.main-btns a i {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 10px;
}
.main-btns a.main-btn-login i {
    background-image: url("./assets/img/cmn/icon_login.png");
}
.main-btns a.main-btn-cart i {
    background-image: url("./assets/img/cmn/icon_cart_wht.png");
}



/* ----------------------------
   contets
-------------------------------*/
#main-contents {
    overflow: hidden;
}

.contents {
    padding: 100px 0;
	position:relative;
}

/* cmn-title */
.cmn-title {
    text-align: center;
    margin-bottom: 50px;
}
.cmn-title h2 {
    color: var(--main-color);
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
}
.cmn-title p {
    font-weight: 500;
    margin-top: 10px;
}
.cmn-title.left {
    text-align: left;
}


.cmn-desc {
    text-align: center;
    line-height: 2.2;
    margin-bottom: 30px;
}
.cmn-desc.left {
    text-align: left;
}

/* more */
.more {
    margin-top: 80px;
    text-align: center;
}
.more.left {
    text-align: left;
}
.more a {
    color: var(--base-color);
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    width: 300px;
    text-align: center;
    padding: 15px 0;
    border: solid 2px var(--main-color);
    border-radius: 1000px;
    background: #fff;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.more a i {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--main-color);
    border-radius: 10000px;
    position:relative;
    margin-left: 10px;
    vertical-align: -5px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.more a i:after {
    content: '';
    color: #fff;
    display: block;
    width: 5px;
    height: 5px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(45deg);
    position: absolute;
    top: 9px;
    left: 7px;
}
.more a:hover {
    color: #fff;
    background: var(--main-color);
}
.more a:hover i {
    color: var(--main-color);
    background: #fff
}
.more a:hover i:after {
    color: var(--main-color);
}


/* item */
.item__list {
    display: flex;
    flex-wrap: wrap;
}
.item__list >li {
    width: 30%;
    margin: 0 0 5% 5%;
}
.item__list >li:nth-child(3n+1) {
   margin-left: 0;
}
.item__list >li a {
	display: block;
	color: var(--base-color);
	padding: 20px;
	border-radius: 10px;
	background: #fff;
}
.item-thumb {
    height: 0;
    padding-top: 100%;
	margin-bottom: 15px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.item-thumb img {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	position: absolute;
	top: 0;
	left: 0;
}
.item-name {
    font-size: 20px;
    font-weight: 500;
}
.item-price {
    font-size: 20px;
    font-family: var(--font-en);
    color: var(--main-color);
}
.item__list >li a:hover .item-thumb img {
	transform: scale(1.1);
}

/* news */
.news__list >li {
    margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: solid 1px #ccc;
}
.news__list >li a {
    color: var(--base-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.news__list  .news-date {
    display: inline-block;
    width: 100px;
}
.news__list .news-cat {
   display: inline-block;
    color: #fff;
    width: 90px;
    line-height: 1;
    padding: 5px 0 6px;
    margin-right: 20px;
    background: var(--base-color);
    text-align: center;
    border-radius: 100px;
}
.news__list  .news-title {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 210px);
}


/* ----------------------------
   footer style
-------------------------------*/

#gb-footer {
	padding: 80px 0;
	background: var(--bg-color);
}
.footer-in {
    display: flex;
    justify-content: space-between;
}
.footer-main {
    width: 270px;
}

.footer-nav {
    display: flex;
    justify-content: right;
    width: calc(100% - 270px);
}
.footer-nav__list {
    margin-left: 50px;
    line-height: 3;
}
.footer-nav__list >li {
}
.footer-nav__list >li a {
    color: var(--base-color);
}



.copyright {
    color: #ccc;
    font-size: 12px;
    margin-top: 20px;
}
#backtotop {
    color: var(--main-color);
	width: 40px;
    height: 40px;
    background: #fff;
    cursor:pointer;
	visibility: hidden;
	opacity: 0;
    border-radius: 100px;
    border: solid 2px;
	position:fixed;
	right: 10px;
	bottom: 30px;
	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;
}
#backtotop:hover {
    color: #fff;
    background: var(--main-color);
}
#backtotop:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(-45deg);
    position: absolute;
    top: 16px;
    left: calc(50% - 6px);
}



/* ----------------------------
   sp style
-------------------------------*/

@media (max-width: 815px) {

	body {
        font-size: 14px;
		min-width: 375px;
		padding-top: 50px;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
	.sp-w100per {
		width:100% !important;
	}
    .inner {
        padding: 0 20px;
    }
    
	.header-in {
		height: 50px;
	}
	.site-title {
		width: 180px;
	}
	.main-btns {
		margin-right: 30px;
	}
	.main-btns a {
		width: 50px;
		height: 50px;
		padding: 12px;
		margin-left: 0;
		border-radius: 0;
	}
	.main-btns a .nav-text {
		display: none;
	}
	.main-btns a i {
		margin-right: 0;
	}

    #menu-btn {
        width: 50px;
        height: 50px;
		background: var(--main-color);
        cursor: pointer;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999999;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-btn span {
        width: calc(100% - 20px);
        height: 1px;
        background: #fff;
        position: absolute;
        left: 10px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-btn span.t {
        top: 20px;    
    }
    #menu-btn span.b {
        bottom: 20px;
    }
    #menu-btn.active span {
        background: #fff;
    }
    #menu-btn.active span.t {
        transform: rotate(30deg);
        top: 25px;
    }
    #menu-btn.active span.m {
        width: 0;
    }
    #menu-btn.active span.b {
        transform: rotate(-30deg);
        bottom: 25px;
    }


    #sp-nav {
        width: 100%;
        height: 100%;
        background: var(--main-color);
        padding: 70px 20px;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left: 0;
        top: 0;
        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: 30px;
    }
    .sp-nav__list > li {
        color: #fff;
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: dotted 1px;
    }
    .sp-nav__list > li a,
    .sp-nav__list > li span {
        color: #fff;
    }
    .sp-nav__list > li a span {
        font-size: 80%;
    }
    .sp-nav__list > li h3,
    .sp-nav__list > li h3 a {
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

	.contents {
		padding: 50px 0;
	}
	.cmn-title h2 {
		font-size: 30px;
	}

	.item__list {
		display: block;
	}
	.item__list >li {
		width: 100%;
		margin: 0 0 20px;
	}

	.news__list >li a {
		display: block;
	}
	.news__list .news-date {
		width: auto;
		margin-right: 10px;
	}
	.news__list .news-cat {
		margin-right: 0;
	}
	.news__list .news-title {
		display: block;
		text-overflow: unset;
		white-space: normal;
		max-width: 100%;
		margin-top: 10px;
	}

	#gb-footer {
		padding: 50px 0;
	}
	.footer-in {
		display: block;
	}
	.footer-main {
		margin-bottom: 30px;
	}
	.footer-nav {
		display: flex;
		justify-content: left;
		width: 100%;
	}
	.footer-nav__list {
		width: 50%;
		margin-left: 0;
		line-height: 2;
	}
	.copyright {
		margin-top: 20px;
	}

}



