/****************

- nav
- footer
- index page
   - 新着(.news)
****************/


a.anchor{
   text-decoration: none;
   border-bottom: 1px solid #323232;
   padding-bottom: -2px;
}
a.anchor:hover{
	border: none;
}





body {
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	/*font-family: Helvetica , "游ゴシック", sans-serif;*/
	/*font-family: 'Hiragino Maru Gothic Pro','ヒラギノ丸ゴ Pro W4','HG丸ｺﾞｼｯｸM-PRO','HGMaruGothicMPRO', sans-serif;*/
}

/* ==================== */
/* flex */
/* -- */
.flex {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}

.flex-row{ /*子アイテムを横並びにする*/
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;   
}

.flex-center{ /*子アイテムを中央に配置(inline)*/
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
	flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    	justify-content: center; /* 子要素をflexboxにより中央に配置する */
    	align-items: center;  /* 子要素をflexboxにより中央に配置する */   
}

.flex-center_a{ /*子アイテムを中央に配置(inline)*/
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    	justify-content: center; /* 子要素をflexboxにより中央に配置する */
    	align-items: center;  /* 子要素をflexboxにより中央に配置する */   
}

.flex-inline{ /*子アイテムを中央に配置(inline)*/
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
}


@media screen and (max-width:549px){
	div#wrapper{
		min-width:320px;
		width: 100%;
	}
}

@media screen and (min-width:550px){
	div#wrapper{
		min-width:960px;
		max-width:1200px;
		width: 95%;
		margin:0 auto;
	}
}




input {
	display: none;
}



/* ==================== */
/* header */
/* -- */

@media screen and (max-width:549px){

	header{
		width: 100%;
		height: 76px;
		position :fixed;
		top:0;
		padding-left: 15px;
		background: #323232;
		z-index:3;
		border-bottom: solid 1px #fff;
	}
	
	header div {
		margin-top:21px;
		font-size: 22px;
	}
	
	
	header nav{
		/* class,flex */
		display: none;
	}

}

@media screen and (min-width:550px){

	header{
		width: 100%;
		height: 100px;
	}

	header div#sitetitle{
		width: 40%;
		padding-left: 15px;
		font-size: 2.0rem;
		line-height: 100px;
	}

	header nav{
		
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;

		-webkit-box-pack:end;
  		-ms-flex-pack:end;
  		justify-content: flex-end;
		
		width: 60%;
		height: 90%;
		margin-right: 15px;
		font-size: 1.0rem;
		text-align: right;
	}

	/* 文字サイズの変更 背景色の変更 */
	header div#accessibility {
		justify-content: flex-end;
		text-align: right;
	}

	header aside#fontsize-controller,
	header aside#colortheme_controller
	{
		margin-top:21px;
		text-align: center;
	}
	header aside#colortheme_controller
	{
		margin-left:34px;
	}
	header aside#fontsize-controller button,
	header aside#colortheme_controller button{
		border-radius: 3px;;
	}

	header aside#fontsize-controller p,
	header aside#colortheme_controller p{
		font-size: 16px;
	}

	header aside#fontsize-controller button,
	header aside#colortheme_controller button {
		font-size: 16px;
		cursor: pointer;
	}
	
	header aside#colortheme_controller button#btn_theme_dark{
		background-color: #323232;
		color:#fff;
	}
	header aside#colortheme_controller button#btn_theme_white{
		background-color: #ffffff;
		color:#000000;
	}
	header aside#colortheme_controller button#btn_theme_blue{
		background-color: #0000ff;
		color:#ffff00;
	}

	header aside#colortheme_controller button#btn_theme_yellow{
		background-color: yellow;
		color:#0000ff;
	}

	header aside#colortheme_controller button#btn_theme_black{
		background-color: #000;
		color:#fff;
	}

	/* サブナビゲーション */
	header nav ul{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		justify-content: flex-end;
		margin: 8px 0 0 auto;
	}

	header nav li {
		margin: 3px 0;
	}
	header nav ul li:not(:first-child){
		margin-left: 10px;
	}

	#quick-nav {		
		height: 100px;
		width: 220px;
		display: grid;
	  	place-items: center;
		margin: 8px 15px 8px 8px;
		text-align: center;
		background-color: #ff0028;
		font-weight: bold;
	}
	#quick-nav span { 
		font-size:0.6rem;
		display: inline-block;
		font-weight: normal;
		line-height: 0.7rem;
		margin: 3px 8px 0px 8px;
		padding: 0;
	}

	#quick-nav a,
	#quick-nav a:visited {color: #fff;
		display: block;
		height: 100%;
		width: 100%;
	}
	#quick-nav:hover {
		background-color:rgb(219, 5, 37);
	}

}

	





/* ==================== */
/* nav#global-nav */
/* -- */

@media screen and (max-width:549px){


	#global-nav {
		display: inline-block;
		position: fixed;
		top: 0;
		left: 0;
		overflow: visible;
		z-index: 5;
		width: 100%;
	}


	/* ハンバーガーボタン */
	.sp_btn {
		display: block;
		position: absolute;
		top: 21px;
		right: 21px;
		z-index: 2;
		width: 34px;
		height: 34px;
		cursor: pointer;
	}

	.sp_btn > .x1,
	.sp_btn > .x2 {
		position: absolute;
		background-color: #1c9888;
		width: 34px;
		height: 2px;
	}

	.sp_btn > .x2{
		top: 10px;
	}

	.sp_btn::before{
		position: absolute;
		bottom: 0;
		width: 100%;
		color: #ff575c;
		font-size: 12px;
		text-align: center;
		content: "menu";
	}

	/* ハンバーガーメニュー メニューclose時 */
	.sp_menu_check:checked ~ .sp_btn > .x1 {
		transform: rotate(45deg) translate3d(10px, 12px, 0);
	}

	.sp_menu_check:checked ~ .sp_btn > .x2 {
		transform: rotate(-45deg) translate3d(-5px, 3px, 0);
	}

	.sp_menu_check:checked ~ .sp_btn::before {
		content:"";
	}


	/* メニュー開閉 */

	/* close時 */
	.sp_aria {
		display: block;
		position: absolute;
		top: 0;
		left: 100%;
		background: #e7fff8;/*E8566C*/
		width: 100%;
		height: 1000px;
		padding-top: 89px;
		padding-left: 21px;
		-webkit-transition: left 0.3s;
		transition: left 0.3s;
	}

	/* open時 */
	.sp_menu_check:checked ~ .sp_aria {
		left: 25%;
	}


	/* ul */
	#global-nav li {
		margin-bottom: 21px;
	}

	/* ul sp-menu */
	ul.sp-menu {
		padding-top: 32px;
		color: #8c8c8c;
	}
	

	
	
}/*SP用css --ここまで--*/


@media screen and (min-width:550px){
	#global-nav {
		z-index: 100;
		width: 100%;
		margin: 0 auto;
	}


	#global-nav .menu {
		margin: 20px 0;
		font-size: 1.0rem;
	}

	#global-nav .menu li {
		display: inline-block;
		margin-right: 20px;
	}

	#global-nav .menu li#gnav-order {
		margin-left: 10px;
	}
	#global-nav .menu li#gnav-order{
		position: relative;
	}
	#global-nav .menu li#gnav-order::before {
		content:"";
		display:block;
   		width:2px;
   		height:100%;
		background-color:#8c8c8c;
   		position:absolute;
		left: -15px;
	}

	#global-nav .sp-menu {
		display: none;
	}



}






/* ==================== */
/* nav.breadcrumbs */
/* -- */


@media screen and (max-width:549px){
	.breadcrumbs {
		width: 95%;
		margin: 0 auto;
		padding-top: 85px;
		font-size: 12px;
	}
}
@media screen and (min-width:550px){
	.breadcrumbs {
		width: 100%;
		margin: 15px auto 8px auto;
		font-size: 0.8rem;
	}
}


/* ul */
@media screen and (max-width:549px){
	.breadcrumbs ul{
		flex-wrap: wrap;
	}
}

/* li */
.breadcrumbs li:not(:last-child)::after{
	margin-right: 3px;
	margin-left: 3px;
	content: "\03e";
}










/* ==================== */
/* footer */
/* -- */

footer{
	width:100%;
	height:auto;
	margin-top:30px;
}

@media screen and (max-width: 549px) {
	footer{
		font-size: 14px;
		margin-top: 0px;
	}
}






/* footer-top */
div.footer-top {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	width: 100%;
	height: auto;
	margin-bottom: 34px;
}
@media screen and (max-width: 549px) {
	div.footer-top {
		flex-direction: column-reverse;  
	}
}
@media screen and (min-width: 550px) {
	div.footer-top {
		padding-top: 23px;
	}
}



footer section {
	width: auto;
	height: auto;
}






/* footer-top - address(連絡先) */


@media screen and (max-width: 549px) {
	section.address {
		padding: 21px 0 21px 21px;
	}
}	
@media screen and (min-width: 550px) {
	section.address {
		margin-left: 30px;
	}
}



@media screen and (max-width: 549px) {
	section.address .addres-left > div {
		margin-bottom: 21px;
	}
}



/* h */
@media screen and (max-width: 549px) {
	section.address h1 {
		margin-bottom: 13px;
		font-size: 14px;
		
	}
	
	section.address h2 {
		margin-bottom: 8px;
		font-size: 14px;
	}
	section.address h2:not(:first-child) {
		margin-top: 21px;
	}
	
	section.address h3 {
		font-size: 14px;
	}
	
	section.address h3:not(:first-child) {
		margin-top: 13px;
	}
}
@media screen and (min-width:550px){
	section.address h1 {
		margin-bottom: 13px;
		font-size: 1.1rem;
	}
	
	
	section.address h2 {
		margin-bottom: 8px;
		font-size: 0.9rem;
	}
	section.address h2:not(:first-child) {
		margin-top: 13px;
	}
	
	
	section.address h3 {
		margin-bottom: 5px;
		padding-left: 1rem;
		font-size: 0.8rem;
	}

	section.address h3:not(:first-child) {
		margin-top: 8px;
	}
	
	section.address div.addres-left{
		margin-bottom: 61px;
	}
	
	section.address div.addres-left div:first-child {
		margin-right:15px;
	}
}


/* p */
@media screen and (max-width: 549px) {
	section.address p {
		font-size: 12px;
		line-height: 18px;
	}
	
}
@media screen and (min-width:550px){
section.address p {
	font-size: 0.8rem;
	line-height: 1.2rem;
	text-indent: 1rem;
}
}

/* section.address .addres-left */
@media screen and (max-width: 549px) {
	section.address .addres-left {
		margin-bottom: 13px;
	}
}
@media screen and (min-width: 550px) {
	section.address .addres-left {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
}


/* 技術部HP内のバナー.internal-banner */

footer .internal-banner {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;

    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;

	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}



/* 出前のロゴ */
footer .demae　{
	margin-top:23px;
}
.demae img　{
	height:50px;
}
footer figure img　{
	width:80px;
}
@media screen and (max-width:549px){
	footer div.demae img{
		max-width: 60%;
        height: auto;
	}
}

/* footer-top - link-banner (リンク集)*/


footer section.link-banner {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	
	flex: 1;
	flex-direction: column;
	
}

footer section.link-banner  div{
	width: 300px;
}

footer section.link-banner #link-banner-ex{
	margin-top: 20px;
}
footer section.link-banner #link-banner-ex p{
	margin-left:-30px;
}


footer section.link-banner ul li{
	position: relative;
	margin-bottom: 5px;
	line-height: 1.5rem;
}

/*
footer section.link-banner ul li.ex{
	margin-top: 20px;
}
*/

.link-banner li::before { /* icon */
	display: inline-block;
	position: absolute;
	top: 1px;
	left: -28px;
	background-image: url(/../img/exlink.svg);
	background-size: contain;
	width: 20px;
	height: 20px;
	content: "";
}
.link-banner li:hover::before { /* icon */
	background-image: url(/../img/exlink_hover.svg);
}



/* SP用 */
@media screen and (max-width: 549px) {
	
	footer section.link-banner {
		background: #444;
		padding: 21px 0 21px 55px;
		margin-left:0px;	
	}
	
	footer section.link-banner ul li{
		margin-bottom: 13px;
	}
}


/* PC用 */
@media screen and (min-width: 550px) {
	footer section.link-banner {
		align-items: center;
		margin-left:34px;
	}
}






/* 技術部パンフレット */
/*
footer section.pamphlet{
	flex:1;
}

footer figure{
	text-align:center;
}
footer figure figcaption{
	margin-top:8px;
}
*/



/* footer-bottom */

div.footer-bottom {
	height: 50px;
	margin-bottom: 80px;
	line-height: 50px;
	text-align: center;
}
@media screen and (max-width: 549px) {
	div.footer-bottom {
		margin-bottom: 10px;
		font-size: 12px;
		line-height: 20px;
	}
}



/* ==================== */
/* index.html */
/* ==================== */


/* ==================== */
/* section.news */
/* -- */


@media screen and (max-width:549px){

	.sp-slides-container {
		margin-top:100px;
	}
}






#NewsContents {
	padding: 13px;
	margin-bottom:13px;
	background: #eee;
}

@media screen and (max-width:549px){

	#NewsContents {
		margin:13px 21px 13px 21px;
		display: block;
		padding: 8px;
		font-size: 12px;
	}
}

	/** News */
	#NewsContents #NC_index{
		width:80px;
		padding: 8px;
		border-right:1px solid #d1474c;
		text-align:center;
	}
	
	/* コンテンツ */
	#NewsContents #NC_content {
		padding: 8px 8px 8px 21px;
		flex: 1;
	}

		#NewsContents #NC_content li{
			line-height:2.0rem;
		}

	#NewsContents #NC_content .ndate {
		margin-right:10px;
	}

		#NewsContents #NC_content a,
		#NewsContents #NC_content a:visited {
			color: #0044cc;					
		}

		#NewsContents #NC_content a:hover {
			text-decoration: underline;
		}

		#NewsContents #NC_content a.exlink {
			position: relative;
			padding-left: 21px;
		}

		#NewsContents #NC_content a.exlink::after {
			display: inline-block;
			position: absolute;
			width:16px;
			height:16px;
			background-image: url(/../img/exlink.svg);
			background-size: contain;
			left:3px;
			top:5%;
			content:"";
		}



	/* link:news.html */
	#NewsContents #NC_updatelink {
		text-align:right;
	}
		#NewsContents #NC_updatelink a, #NewsContents #NC_updatelink a:visited{
			color: #1A0DAB;
			
			text-decoration: none;
		}
		#NewsContents #NC_updatelink a::after{
			content: "\0bb";
		}

		#NewsContents #NC_updatelink a:hover {
			text-decoration: underline;
		}

		@media screen and (max-width:549px){

			#NewsContents #NC_index{
				padding: 0px;
				border: none;
				text-align: left;
				color:#d1474c;
				margin-bottom:5px;
			}
			#NewsContents #NC_content{
				padding: 0px;
			}

			#NewsContents #NC_content a.exlink::after {
				width:12px;
				height:12px;
				left:3px;
				top:3px;
		
			}
		}




























a.anchor{
   text-decoration: none;
   border-bottom: 1px solid #323232;
   padding-bottom: -2px;
}
@media screen and (max-width: 549px) {
	section.news {
		margin-top: 34px;
		padding: 34px 0 34px 13px;
		font-size: 12px;
		background: #fff;
	}
}
@media screen and (min-width: 550px) {
	section.news {
		height: 150px;
		padding-top: 30px;
		text-align: center;
	}
}


section.news p.new-arrivals span span a:visited, section.news p.new-arrivals span span a,
section.news p.new-arrivals span a:visited, section.news p.new-arrivals span a {
color: #b5b5b5;
}






/* new-arrivals */


@media screen and (max-width: 549px) {
	section.news p.new-arrivals {
		padding-bottom: 8px;
		line-height: 24px;
	}
	section.news p.new-arrivals span {
		display: block;
		padding-bottom: 13px;
		font-size: 16px;
	}
	section.news p.new-arrivals time::after {
		content: "\A";
		white-space: pre;
	}
	section.news p.new-arrivals a {
		display: inline;
	}
}
@media screen and (min-width: 550px) {
	section.news p.new-arrivals {
		margin: 40px auto 20px auto;
		font-size: 1.3rem;
	}

	section.news p.new-arrivals span{
		margin-right: 20px;
	}
	

}



section.news a.exlink {
	margin-left: 1.5em;
	position: relative;
	padding-left: 2px;
}
section.news a.exlink::after {
    left: -1.5rem;
    width: 1.2em;
    height: 1.2em;
}
section.news a.exlink::after {
    display: inline-block;
    position: absolute;
    top: 6px;
    background-image: url(/../img/exlink.svg);
    background-size: contain;
    border-bottom: 1px solid #b5b5b5;
    content: "";
}
section.news a.exlink:hover::after {
	border-bottom: none;
}






/* news-more */

@media screen and (max-width: 549px) {
	section.news p.news-more {
		margin-top: 21px;
		padding-right: 30px;
		text-align: right;

	}
	section.news p.news-more span {
		border-radius: 3px;
		padding: 3px;
	}
}
@media screen and (min-width: 550px) {
	section.news p.news-more{
		display: inline;
		padding: 3px;
		font-size: 0.8rem;
		line-height: 20px;
		text-align: center;
	}
	
	section.news p.news-more a {
		text-decoration: none;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		padding-bottom: -2px;
	}
	section.news p.news-more a:hover {
		border: none;
	}
}



