﻿@charset 'UTF-8';
#suntory_contents h1.color-change,
#container .inner h2.color-change,
#suntory_contents a.color-change {
    color: #1e797f;
}
#container #subNav li {
	float: left;
	width: 115px;
    width: 12.0418848167539%;
	height: 50px;
	margin: 0 0 10px .5235602094241%;
}
#container #subNav li:first-child {
	margin-left: 0;
}
#container #subNav li > a {
	position: relative;
	display: table-cell;
	overflow: hidden;
	font-size: 14px;
	width: 12.0418848167539%;
	height: 50px;
	padding: 0 5px 0 10px;
	vertical-align: middle;
	color: #fff;
	background: #767676;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	transition: all ease-in .3s;
	-webkit-transition: all ease-in .3s;
}
#container #subNav a.row2 {
	padding-top: 7px;
}
#container #subNav .current a,
#container #subNav li > a:hover,
#container #subNav li > a:focus {
	text-decoration: none;
	background: #1e797f;
}
#container #subNav li > a:focus-visible {
	outline: thin dotted #000000;
}
#container #fixedNav {
	position: fixed;
	width: 100%;
	left: 0;
/*	top: 32px;*/
    top: 0;
	background: rgb(255,255,255);/*ie8*/
	background: rgba(255,255,255,0.95);
	z-index: 100;
	overflow: hidden;
	height: 0;
	opacity: 0;
	-webkit-transition: all linear .3s;
	transition: all linear .3s;
}
#container #fixedNav ul {
	width: 100%;
    max-width: 1164px;
	margin: 10px auto 0;
}
#container #fixedNav label {
	display: none;
	position: relative;
}
#container #fixedNav .sp-open {
	display: none;
}
#container .fix #fixedNav {
	border-bottom: 1px solid #e6e6e6;
	height: auto;
	opacity: 1;
	z-index: 1;
}
#container .fix > ul {
	opacity: 0;
	-webkit-transition: all linear .5s;
	transition: all linear .5s;
}

#container .inner h3 {
	margin-bottom: 2.5em;
}
#container .inner h4 {
	background: #5bc2dc;
	color: #fff;
	font-size: 20px;
	font-style: italic;
	padding: .5em 1em;
	margin: 0;
}
#container .inner h5 {
	font: bold 28px/1.1 'suntory syntax', Arial, Helvetica, sans-serif;
	margin: 40px 0 30px;
	font-weight: normal;
}
#container .inner h5 a {
    text-decoration: none;
    color: #1e797f;
    font-weight: normal;
    display: block;
}
#container .inner h5 a:hover {
	opacity: .7;
}
#container .inner h5 a:after {
	display: inline-block;
	content: '会社概要';
	font: normal 14px/1 Arial, Helvetica, sans-serif;
	background: #1e797f;
	color: #fff;
	width: 140px;
	padding: 8px 0;
	margin-left: 40px;
	text-align: center;
	vertical-align: middle;
}
#container .inner h5 a[target=_blank]:after {
	display: inline-block;
	content: 'Web サイト';
	text-indent: -10px;
	background: #1e797f url(/company/common/layout/responsive/img/parts.png) 105px -180px no-repeat;
}
#container .inner h5 a + br{
	display:none;
}
#container .inner h5 span{
	font: normal 18px/1.1 'suntory syntax', Arial, Helvetica, sans-serif;
}
#container .inner > section > section {
	border-top: 1px solid #e6e6e6;
}
#container .inner > section > section:first-child {
	border-top: none;
}
#container .inner > section > section > p {
	font-size: 18px;
	font-weight: bold;
	color: #666;
}
#container .inner > section > section > dl {
	margin: 40px 0;
}
#container .inner > section > section > dl dt {
	color: #2d8fc1;
	font-size: 16px;
	line-height: 1;
}
#container .inner > section > section > dl dd {
	margin: 15px 0 0;
}

#container .inner h3,
#container .inner h4,
#container .inner h5 {
	margin-left: auto;
    margin-right: auto;
    width: 960px;
}
#container .inner > section {
    margin: 0 auto;
    width: 960px;
}


/*SP/Tablet*/
@media only screen and (max-width: 767px) {
	#container #subNav li {
		width: 49.5%;
		height: 44px;
		margin: 0 0 3px 1%;
		display: table;
	}
	#container #subNav li:nth-child(odd) {
		margin-left: 0;
	}
	#container #subNav li:nth-child(even) {
		float: right;
	}
	#container #subNav li.sp-right {
		width: 54%;
	}
	#container #subNav li > a {
		font-size: 12.5px;
		width: 100%;
		height: 100%;
		padding: 0 8px 0 4%;
		display: table-cell;
		vertical-align: middle;
	}
	#container #subNav a.row2 {
		padding-top: 0;
	}

	#container #fixedNav h1 {
		padding-bottom: 0;
	}

	#container #fixedNav {
		top: 0;
	}

	#container .fix #fixedNav {
		border-bottom: 1px solid #5bc2dc;
		top: 0;
	}
	#container #fixedNav ul {
		width: auto;
		height: 0;
		overflow: hidden;
		margin: 0 6px;
		-webkit-transition: all ease-out .4s;
		transition: all ease-out .4s;
	}
	#container #fixedNav.open ul {
		height: 188px;
		margin-top: 4px;
	}
	#container #fixedNav label {
		display: block;
		height: 40px;
		line-height: 40px;
		text-indent: 6px;
		text-align: left;
	}
	#container #fixedNav label a {
		background-color: transparent;
	}
	#container #fixedNav .sp-open {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}
	#container #fixedNav .sp-open:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		height: 40px;
		width: 40px;
		background: #5bc2dc url(/company/common/sp/img/header_footer.png) no-repeat 16px -434px;
    -moz-background-size: 384px auto;
    -webkit-background-size: 384px auto;
    background-size: 384px auto;
	}
	#container #fixedNav.open .sp-open:after {
		background-position: 16px -466px;
	}
	#container .inner h3 {
		margin-bottom: 1.5em;
	}
	#container .inner h4 {
		font-size: 14px;
		margin: 1.5em 0 0;
	}
	#container .inner h5 {
		font-size: 22px;
		margin: 1.5em 0 1em;
	}
	#container .inner h5 a:after,
	#container .inner h5 a[target=_blank]:after {
		display: block;
		margin: .5em 0;
	}
	#container .inner > section > section > p {
		font-size: 14px;
	}
	#container .inner > section > section > dl {
		margin: 2em 0;
	}
	#container .inner > section > section > dl dt {
		font-size: inherit;
	}
	#container .inner > section > section > dl dd {
		margin: .5em 0 0;
	}
    
    #container .inner h3,
    #container .inner h4,
    #container .inner h5 {
        width: auto;
    }
    #container .inner > section {
        width: auto;
    }
    
}
