
/**
 * [lg]LARGE DEVICE Desktop 1200px -
 */
@media screen and (min-width: 1200px) {
	header .navbar-nav > li > a {
		padding-left: 2em;
		padding-right: 2em;
	}
}

/**
 * [md]MEDIUM DEVICE Desktop 992px - 1199px
 */
@media screen and (max-width: 1199px) {
	.home-box1 .box {
		margin-left: 10px;
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.home-box1 .read {
		right: 20px;
		max-width: 114px;
	}
	
	.home-box2 > .container {
		background-size: 550px auto, auto auto;
	}
	.home-box2 .box {
		min-width: 320px;
		padding-top: 40px;
		padding-bottom: 30px;
	}
	.home-box2 .read img {
		width: 52px;
	}
	.home-box3 > .container {
		background-size: 550px auto, auto auto;
		background-position: 315px 0, 100% 100%;
	}
	.home-box3 .box {
		min-width: 320px;
		padding-top: 40px;
		padding-bottom: 50px;
	}
	.home-box3 .read img {
		width: 52px;
	}
	.home-slider-pc ul:after {
		background-size: auto 100% !important;
		background-position: center 30px !important; 
	}
}
@media screen and (min-width: 992px) {
	header .navbar-brand {
		padding: 7px 5px 7px 15px;
	}
	header .navbar-nav > li.recruit > a {
		line-height: 40px;
	}
	#main {
		margin-top: -21px;
	}
	.heroimage h1 {
		font-size: 36px;
		line-height: 0.95;
	}
	/**
	 * 	RECRUIT
	 */
	.recruit-page .heroimage {
		height: 550px;
		padding-top: 240px;
		margin-top: 15px;
	}

}

/**
 * [sm]SMALL DEVICE Tablet 768px - 991px
 */
@media screen and (max-width: 991px) {
	header .navbar-brand {
		font-size: 16px;
		padding: 20px 15px 0;
	}
	header .navbar li {
		font-size: 15px;
		font-weight: bold;
	}
	header .navbar-nav > li > a {
		padding-left: 7px;
		padding-right: 7px;
	}
	header .navbar-nav > li.recruit > a {
		line-height: 40px;
		padding-right: 65px;
	}
	.home-box1 .box {
		width: 290px;
		margin-left: 0px;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.home-box1 .read {
		right: 5px;
		max-width: 100px;
	}
	
	.home-box2 > .container {
		background-size: 410px auto, auto auto;
		background-position: 90px 15px, 0 100%;
	}
	.home-box2 .box {
		min-width: 290px;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;
	}
	.home-box2 .read {
		padding-bottom: 10px;
	}
	.home-box2 .read img {
		width: 50px;
	}
	
	.home-box3 > .container {
		background-size: 390px auto, auto auto;
		background-position: 285px 20px, 100% 100%;
	}
	.home-box3 .box {
		min-width: 290px;
		padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 10px;
	}
	.home-box3 .read img {
		width: 50px;
	}
	
	/**
	 * 	RECRUIT
	 */
	.recruit-interview .heroimage {
		height: 400px;
	}
	
}

@media screen and (min-width: 768px) {
	#main {
		font-size: 16px;
	}


	header .navbar-nav {
		/*height: 74px;*/
	}
	header .navbar-nav > li > a {
		border-left: 1px dotted rgba( 255, 255, 255, 0.7);
		padding-top: 14px;
		padding-bottom: 6px;
	}
	.page-type-home header .navbar-nav > li > a {
		border-left: 1px dotted transparent;
	}
	.page-type-home header .navbar.scroll .navbar-nav > li > a {
		border-left: 1px dotted rgba( 255, 255, 255, 0.5);
	}
	header .navbar-nav > li.recruit > a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.navbar-right {
		margin-right: 0;
	}
	header .navbar-nav > li {
		text-align: center;
	}
	header .navbar-nav > li .alias {
		display: block;
	}
	header .navbar-nav > li.recruit .alias {
		display: inline;
	}

	/**
	 * 	FOOTER
	 */
	footer {
		background-image: url(../images/footer.jpg);
		background-position: center center;
		background-size: cover;
	}
	h2.narrow {
		background-image: url(../images/bg-h2-narrow.png);
		padding: 2.5em 0 2em 0;
	}
	.recruit-page h2.narrow {
		line-height: 1.2;
		padding: 2.3em 0 2em 0;
	}
	.home-slider-pc ul:after {
		background-image: url(../images/home-main-visual-copy.png);
		background-position: center center;
		background-position: center calc( 50% + 10px );
		background-repeat: no-repeat;
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		z-index: 5;
		width: 100%;
		height: 100%;
	}
	.recruit-copy > .container .row {
		background-image: url(../images/bg-h2-narrow.png), url(../images/bg-h2-narrow-red.png);
		background-repeat: no-repeat, no-repeat;
		background-position: 5% 0%, 95% 100%;
	}
	.recruit-copy h2 {
		font-size: 2.5em;
		margin-top: 0;
		line-height: 1.3;
	}
	.recruit-copy h2 .alias {
		font-size: 40%;
	}
	.topics-article h2.article-title {
		font-size: 24px;
	}
}

/**
 * [xs]EXTRA SMALL DEVICE Phone 0px - 767px
 */
@media (max-width: 767px) {
	h2 {
		margin: 2em -15px 1em -15px;
		background-repeat: repeat-x;
	}
	/**
	 * 	HEADER
	 */
	.navbar-header {
		background-color: rgba(16, 97, 148, 1);
	}
	header .navbar-brand {
		font-size: 16px;
		padding: 15px 15px;
	}
	.navbar-collapse {
		background-color: rgba(16, 97, 148, 0.8);
	}
	header .navbar-nav > li .alias {
		padding: 8px;
	}
	header .navbar-nav > li > a {
		border-bottom: 1px dotted rgba( 255, 255, 255, 0.5);
	}
	header .navbar-nav > li.recruit > a {
		line-height: 20px;
		border-bottom: 1px solid rgba( 255, 255, 255, 0.5);
	}
	
	/**
	 * 	FOOTER
	 */
	footer {
		margin-top: 70px;
	}
	.page-type-home footer {
		margin-top: 40px;
	}
	.page-top-jump {
		float: none;
		width: 100%;
		border: none;
	}
	.page-top-jump a {
		font-size: 110%;
	}
	
	/**
	 * 	MAIN
	 */
	.contents {
		font-size: 13px;
	}
	.contents h2 {
		font-size: 22px;
	}
	.contents h2 div {
		min-width: 200px;
	}
	.contents h2 span,
	.contents h3 span {
		font-size: 16px;
	}
	.contents h3 {
		font-size: 18px;
	}
	.contents h4 {
		font-size: 17px;
	}
	.contents h5 {
		font-size: 16px;
	}
	.contents h6 {
		font-size: 16px;
	}

	
	.heroimage {
		margin-top: 50px;
		padding-top: 45px;
		height: 205px;
	}
	
	.topics-article h2.article-title {
		margin-left: -15px;
		margin-right: -15px;
		border-width: 3px 0;
		border-radius: 0;
		font-size: 19px;
	}
	/**
	 * 	RECRUIT
	 */
	.recruit-page .heroimage {
		height: 270px;
		padding-top: 85px;
	}
	.recruit-copy h2 {
		margin-top: 0;
	}
	/*.recruit-copy > .container .row {
		background-image: url(../images/bg-h2-narrow.png), url(../images/bg-h2-narrow-red.png);
		background-repeat: no-repeat, no-repeat;
		background-position: -10% 0%, 110% 100%;
	}*/
	.entry-area {
		margin-bottom: -70px;
	}
	.entry-area h3 .alias {
		display: block;
		margin-left: -1em;
		margin-top: 6px;
	}
	
	/**
	 * 	INTERVIEW
	 */
	.recruit-interview .heroimage {
		height: 140px;
		margin-top: 46px;
	}
	.interview-article .person-info {
		padding: 20px 0 10px 0;
		max-width: 240px;
		margin: 40px auto 30px auto;
		font-size: 12px;
	}
	.interview-article .person-info .title {
		top: -16px;
		font-size: 20px;
	}
	.interview-article .person-info .name {
		font-size: 27px;
	}
	.interview-article .person-info .name small {
		font-size: 12px;
		margin: 10px 0;
	}
	.interview-article .interview .title {
		background: none;
		margin: 30px auto 20px;
		font-size: 24px;
	}
	.interview-article .interview:before {
		display: none;
	}
	.interview-article .interview-image {
		margin: 40px auto 30px auto;
	}
	.interview-article .message {
		position: relative;
		padding: 30px 0;
		margin: 50px auto 50px auto;
	}
	.interview-article .message .title {
		font-size: 24px;
		padding: 10px 20px;
		display: block;
	}
	.interview-article .message .title .alias {
		color: #fff;
		padding: 0.5em 30px 0.5em 0;
		font-size: 13px;
		top: -3px;
	}
	.interview-article .message .text {
		padding: 20px;
		margin-top: 0;
		margin-left: 0;
	}
	.interview-article .message .person {
		display: none;
	}
	
	/**
	 * 	HOME
	 */
	.home-slider-sp ul:after {
		background-image: url(../images/home-main-visual-copy-sp.png);
		background-position: center;
		background-repeat: no-repeat;
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		z-index: 5;
		width: 100%;
		height: 100%;
	} 
	.jump-btn a {
		max-width: none;
	}
	.home-box {
		margin-top: 20px;
		margin-bottom: 40px;
	}
	.home-box h2 {
		padding-left: 15px;
		padding-right: 15px;
	}
	.home-box1 > .container {
		background: none;
		width: inherit;
		max-width: none;
	}
	.home-box1 .box {
		width: 100%;
		background: none;
		padding: 0;
	}
	
	.home-box2 > .container {
		background: none;
		width: inherit;
		max-width: none;
		margin-top: 40px;
	}
	.home-box2 .box {
		border: none;
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
	}
	.home-box2 .box img {
		max-width: 80%;
	}
	.home-box2 .box:before {
		top: 20%;
		right: 0;
	}
	.home-box2 .read {
		padding-bottom: 10px;
		position: absolute;
		right: 0;
		top: 0;
		float: right;
		width: 20%;
		padding-right: 10px;
		text-align: center;
	}
	.home-box2 .read img {
		width: 40px;
	}
	
	
	.home-box3 > .container {
		background: none;
		width: inherit;
		max-width: none;
		margin-top: 40px;
	}
	.home-box3 .box {
		min-width: auto;
		border: none;
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
	}
	.home-box3 .box p,
	.home-box3 .box .copy {
		margin-left: 20%;
		padding-left: 0;
	}
	.home-box3 .box p.jump-btn {
		margin-left: 0;
	}
	.home-box3 .box img {
	}
	.home-box3 .box:before {
		background-image: url(../images/bg-h2-narrow-red.png);
		top: 20%;
		left: 0;
	}
	.home-box3 .read {
		padding-bottom: 10px;
		position: absolute;
		left: 0;
		top: 0;
		float: left;
		width: 20%;
		padding-left: 10px;
		text-align: center;
	}
	.home-box3 .read img {
		width: 40px;
	}
}


@media (max-width: 500px) {
	.bg-blue .box {
		font-size: 18px;
	}
	h2 {
		background-image: url(../images/bg-h2-narrow.png);
		background-position: 0 0;
		background-repeat: repeat;
	}
	.home-box h2 {
		padding-left: 15px;
		padding-right: 15px;
	}
	.copy {
		font-size: 22px;
	}
	.footer-copy {
		font-size: 24px;
	}


}
