
@media only screen and (max-width: 767px) {


	header.top>a{
		height: 64px;
	}
	
	
	#container>.tagline{
		padding: 6px 12px 4px;
		text-align: center;
	}
	
	.tagline .sp,
	.underW768{
		display: inline;
	}
	
	header.top>a{
		width: calc(100% - 40px);
	}
	
	header.top .keyword,
	.tagline .pc
	{
		display: none;
	}

	/* HEADLINE */



	#hmbMn{
		display: flex;
		flex-flow: column;
		justify-content: space-between;
		padding:4px 16px 4px 0;
		width: 20px;
		height: 20px;
		box-sizing: content-box;
	}

	#hmbMn:hover{
		cursor: pointer;
	}

	#hmbMn div{
		height: 2px;
		background: var(--main-key-color);
	}


/* HEADER BAR */
/* GLOBAL NAVI ++++++++++ */

	header.top{
		z-index: 5;
	}

	header.top nav{
		position: absolute;
		top: 44px;
		right: 0;
		width: 100%;
		height: 0;
		overflow: hidden;
		transition: all .3s ease-out;/**/
	}

	header.top.on nav{
		height: 386px;
		height: 100vh;
		overflow: auto;
	}

	header.top.on.subon nav{
		height: 471px;
	}

	
	header.top nav ul{
		display: flex;
		flex-flow: column;
		justify-content: start;	
		align-items: center;
		
		padding: 4px 16px 4px;
		width: 100%;
		line-height: 28px;
		background: rgba(255,255,255, 1);
		
		transition: all .3s ease-out;
		transform: translate(0, -337px);
		border: #e7e7e7 solid;
		border-width: 0 0 1px;
		box-shadow: 0 0px 4px rgba(26,26,26,0.8);
	}

	header.top nav ul li{
		display: block;
		width: 100%;
		border: #e7e7e7 solid;
		border-width: 0 0 1px 0;
		box-sizing: border-box;
	}

	header.top.on nav ul{
		transform: translate(0, 0);
		box-shadow: 0 1px 4px rgba(26,26,26,0.3);
	}
	
	header.top nav ul li:last-child{
		border: none;
	}
	
	/* MENU ++++++++++++ */

	header.top nav ul li a {
		flex: 1 0 auto;
		display: flex;
		flex-flow: row nowrap;
		justify-content: start;
		align-items: center;
		padding: 8px;
		width: 100%;
		height: 46px;
		box-sizing: border-box;
	}
	
	/* sub-menu +++++++++++ */

	header.top nav>ul>li:nth-child(2) {
		position: relative;
		z-index: 1;
		padding-bottom: 0;
	}

	header.top nav>ul>li:nth-child(3) {
		position: relative;
		z-index: 1;
		padding-bottom: 0;
	}


	header.top nav ul li:nth-child(2) > ul.sub-menu {
		position: static;
		display: block;
		margin-bottom: 0;
		padding: 0;
		width: 100%;
		
		border-top: transparent solid 0px; 
		border-bottom: transparent solid 0px; 
		border-radius: 8px;
		overflow: hidden;
		transition: all 0.3s ease-out;
		box-sizing: border-box;
	}

	header.top nav ul li:nth-child(3) > ul.sub-menu {
		position: static;
		display: block;
		margin-bottom: 0;
		padding: 0;
		width: 100%;
		
		border-top: transparent solid 0px; 
		border-bottom: transparent solid 0px; 
		border-radius: 8px;
		overflow: hidden;
		transition: all 0.3s ease-out;
		box-sizing: border-box;
	}
	
	header.top nav ul li:nth-child(2) > ul.sub-menu{
		padding: 0;
		width: 100%;
		height: 0;
		background: var( --main-light-color );
		border: 0; 
		box-shadow: none;
		
	}
	
	header.top nav ul li:nth-child(3) > ul.sub-menu{
		padding: 0;
		width: 100%;
		height: 0;
		background: var( --main-light-color );
		border: 0; 
		box-shadow: none;
		
	}
	
	header.top nav ul li:nth-child(2) > ul.sub-menu.slideDown {
		height: 141px;
	}
	
	header.top nav ul li:nth-child(3) > ul.sub-menu.slideDown {
		height: 92px;
	}

	header.top nav ul li:nth-child(2) > ul.sub-menu li{
		padding: 0;
	}

	header.top nav ul li:nth-child(3) > ul.sub-menu li{
		padding: 0;
	}

	header.top nav ul li:nth-child(2) > ul.sub-menu li:last-child{
		border-bottom: 0;
	}

	header.top nav ul li:nth-child(3) > ul.sub-menu li:last-child{
		border-bottom: 0;
	}

	header.top nav ul li:nth-child(2) > ul.sub-menu li a{
		padding: 8px 0;
		box-sizing: border-box;
		padding-left: 8px;
		color: #666;
	}

	header.top nav ul li:nth-child(3) > ul.sub-menu li a{
		padding: 8px 0;
		box-sizing: border-box;
		padding-left: 8px;
		color: #666;
	}

	header.top nav ul li ul.sub-menu li:hover {
		background: rgba(48,70,101,0.2);
	}

	header.top nav ul li:nth-child(2) > ul.sub-menu li a:hover{
		color: #fff;
	}

	header.top nav ul li:nth-child(3) > ul.sub-menu li a:hover{
		color: #fff;
	}

	header.top nav ul li:nth-child(2) > ul.sub-menu.slideDown > a {
		color: #666;
		background: #fff;
	}

	header.top nav ul li:nth-child(3) > ul.sub-menu.slideDown > a {
		color: #666;
		background: #fff;
	}
	
	#container>section>article {
		margin-left: 0;
	}

	section.base.philosofy header{
		display: flex;
		flex-flow: column;
		justify-content: start;
		align-content: space-between;
		align-items: center;	
		margin-bottom: 32px;
		padding: 0;
		width: 100%;
		height: auto;
		
	}

	.philosofy header div{
		display: flex;
		flex-flow: row nowrap;
		justify-content: center;
		align-items:  flex-end;	
		flex: 0 0 auto;
		max-width: 248px;
		height: 196px;
	}/**/


	section.introduce article{
		display: flex;
		flex-flow: column;
		justify-content: start;
		align-content: space-between;
		align-items: start;
		margin-right: 0;
		padding: 4px;
		width: 50%;
		max-width: 188px;
		background: #fff;
		box-sizing: border-box;
		flex: 0 1 auto;

	}	
		
		
		
		
		
		
		
		
	/* SLIDER{ +++++++ */

	#container div#frame4slider h1{

		font-size: 16px;/*1.6*/
		line-height: 20px;

	}
		
	/* PRIMARY{ +++++++ */

	main{
		display: flex;
		flex-flow: column;
		justify-content: center;	
		
		padding: 8px;
	}
	
	#primary{
		
		flex: 0 1 auto;
		margin-right: 0;
		margin-bottom: 32px;
		width: 100%;
	}
	


/* }PRIMARY ++++++++++++++ */

/* SECONDARY ++++++++++++++ */


	#secondary{
		
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
			
		position: -webkit-sticky;
		position: sticky;
		z-index: 5;
		top: unset;
		bottom: 40px;
		left: 0;
		padding: 0 0 0;
		width: 100%;
		height: 74px;
		overflow: hidden;
		overflow: auto;
		box-sizing: content-box;
		background: rgba(255,255,255,.7);
		/* overflow: auto; */
		/* -webkit-overflow-scrolling: touch; */
	}

	#secondary>.wrapper{
		display: flex;
		flex-flow: row nowrap;/*並びの方向　折り返しのありなし*/
		justify-content: center;
		justify-content: start;

		position: absolute;
		z-index: 5;
		top: unset;
		bottom: 0px;
		left: 0;
		padding: 0  4px;
		width: auto;
		height: 74px;
	}

	aside{
		padding-right: 4px;
	}

	aside:last-child{
		padding-right: 0;
	}


	#secondary aside a img {
		display: block;
		width: auto;
		height: 72px;
		vertical-align: middle;
		object-fit: cover;
		object-position: top;
		border-radius: 4px;
	}

	/* SIDE BAR */


	.wrapper.banner{
		border-radius: 8px 8px 0 0;

	}
	
	

}

@media only screen and (min-width: 401px) {
	.underW400,
	.underW375
	{
		display: none;
	}
	
}

@media only screen and (max-width: 440px) {
	
	#primary #contents header h2{
		font-size: 16px;
		line-height: 24px;
	}
	
	section.column1 article {
		flex-flow: column;
		justify-content: start;
		align-items: center;
		margin-bottom: 20px;
		font-size: 13px;
	}
	
	section.column1 article header{
		margin-bottom: 20px;
		width: 112px;
	}
	
}

@media only screen and (min-width: 768px) {
	
	.address.pc{
		display: block;
	}
	.address.sp{
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	.address.pc{
		display: none;
	}
	
	#container div.address.sp{
		display: block;
		position: fixed;
		z-index: 3;
		bottom: 0;
		padding: 4px;
		width: 100%;
		background: #fff;
		background-image: url('/assets/cl_maruna/images/header_bg.webp');
		border-top: #efefef solid 1px;
		box-sizing: border-box;
	}
	.address.sp img{
		width: 100%;
		max-width: 320px;
		height: auto;
	}
	
		header.top > a h1 {
		width: 200px;
		height: 29px;
	}
	header.top > a {
		height: auto;
		padding-top: 8px;
		padding-bottom: 8px;
	}

}

@media only screen and (min-width:375px) {
	section.base.philosofy header {
	display: flex;
	flex-flow: row wrap;
	justify-content: start;
	align-content: space-between;
	align-items: center;
	margin-bottom: 32px;
	padding: 0;
	width: 100%;
	height: auto;
}	
	.philosofy header div {
		display: flex;
		flex-flow: row nowrap;
		justify-content: center;
		align-content: ;
		align-items: flex-end;
		flex: 0 0 auto;
		width: 33%;
		max-width: 248px;
		height: 196px;
	}
	section.philosofy {
		margin-top: -72px;
	}
}

@media only screen and (max-width: 400px) {
	.underW400,
	.underW375
	{
		display: inline;
	}
}


@media only screen and (max-width: 374px) {
	.underW400,
	.underW375
	{
		display: inline;
	}
	
	#frame4slider .textArea .lead{
		display: none;
	}
	
	section.base.philosofy header {
		flex-flow: row wrap;
	}	
	#primary section.philosofy header div {
		width: 33%;
		height: 156px;
		background-size: 140% auto;
	}
	
	section.philosofy {
		margin-top: -72px;
	}
}
