/*
 *	l.css
 *	～1024px
 */

/*--------------------------------------------------
	PC 用設定
 */

.for_m {
	display	:	none !important;
}

#masthead {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 78px;
	border-bottom: 1px solid var( --bdcolor );
	display: flex;
	background-color: var( --bgcolor );
	z-index: 100;
	align-items: center;
}

#h_group {
	padding: 0 1.5rem;
	padding: 0 min(2vw, 1.5rem);
    width: 100%;
    height: 48px;
    position: relative;
    display: flex;
	max-width: 1200px;
	margin: 0 auto;
}

#h_nav {
	position: absolute;
	right: 1.5rem;
}

#h_nav ul li:last-child a {
	color: white;
	padding: 0.2rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--maincolor);
	border-radius: 1.5rem;
}

#h_nav ul li:last-child a:hover {
	background-color: var(--hovercolor);
}

.logged-in #masthead {
	top: 32px;
}

#container {
	margin-top: 78px;
}

#logo {
    margin-top: 2rem;
    width: 120px;
    height: auto;
}

/*
.home .fxw div.fxb {
    margin-top: 3rem;
    padding: 5rem 2rem 5rem;
}
*/

.fxw.rev {
	flex-direction: row-reverse;
}

.fx3 {	width: 25%;}
.fx4 {	width: 33.33%;}
.fx6 {  width: 50%;}
.fx8 {	width: 66.66%;}

@media screen and ( max-width: 920px ) {
	#h_nav {
		right: 0.5rem;
	}
	#h_nav ul li a {
		font-size: min( 1rem, 1.7vw );
	}
}

#blog-wrapper,
section.content-box {
	width: 100%;
	max-width: 1200px;
	margin: 4rem auto;
	padding-bottom: 4rem;
}

section div.fxb {
	margin: 0 auto 0;
	max-width: 1200px;
	overflow-y: clip;
}

section > div.fxw {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

section div.fxw .fxb.box-l,
section div.fxw .fxb.box-r {
	padding-right: 2rem;
	padding-left: 2rem;
}

#home-sec3 {
	padding-bottom: 0;
}

#workshop-image {
	position: absolute;
	max-height: 600px;
	right: 2rem;
}

#product-image1, #product-image2 {
	height: auto;
	display: block;
	position: absolute;
}

#product-image1 {
	width: min( 20vw, 200px );
	right: min( calc(50vw - 10rem), 400px );
	bottom: -4rem;
}

#product-image2 {
	width: min( 35vw, 350px );
	right: 0;
	bottom: -4rem;
}

.innerbox {
	width: 100%;
	position: relative;
}

/*--------------------------------------------------
    フッタ
 */

#ftr-content {
	flex-flow: row nowrap;
}

#ftr-content div.box-r {
	max-width: 300px;
}

#ftr-content div.bos-l {
	min-width: calc( 100% - 260px );
}


/*--------------------------------------------------
	WARAKUとは
 */

#about .fxi-logo {
	position: absolute;
	right: 0;
	top: 0;
	width: 180px;
	height: auto;
}

.fxw.inbox_sp1 > * {
	margin-right: 1rem;
}

.fxw.inbox_sp1 > :nth-child(3n) {
	margin-right: 0;
}

/*--------------------------------------------------
	ブログ関係
 */


#blog-wrapper main,
#blog-archive.content-box {
	width: calc( 100% - var( --asside-w ) );
	max-width: calc( 1600px - var( --asside-w ) );
}

#blog-archive.content-box {
	display: flex;
	flex-flow: row wrap;
}

.poster {
	margin: 2rem 1rem;
	word-break: break-all;
	font-size: 2rem;
	position: relative;
	width:	calc( 50% - 2rem );
	min-height: 15rem;
}

.poster a {
	color: white;
	width: 100%;
	height: 100%;
	display: block;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.poster a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
}

aside#sidebar {
	width:	var( --asside-w );
	min-width:	var( --asside-w );
	padding: 1rem;
	margin: 5rem auto;
}